This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
namespace GLCameraRipple | |
open System | |
open System.Drawing | |
open System.Runtime.InteropServices | |
open Microsoft.FSharp.NativeInterop | |
open MonoTouch.CoreFoundation | |
[<AutoOpen>] | |
module Inlinings = |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// [assembly: MonoMac.RequiredFramework("CorePlot.framework/CorePlot")] | |
var green1 = CPTColor.GreenColor; | |
// Throws exception: | |
//[ERROR] FATAL UNHANDLED EXCEPTION: System.InvalidCastException: Cannot cast from source type to destination type. | |
//at CorePlot.CPTColor.get_GreenColor () <0x00040> | |
var c = new CPTColor(); | |
var green2 = CPTColor.GreenColor; //ok |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
namespace rtest | |
open System | |
open RDotNet | |
[<AutoOpen>] | |
module Init = | |
let initR() = | |
let rpath = "/Library/Frameworks/R.framework/Libraries" | |
let rresources = "/Library/Frameworks/R.framework/Resources" |