1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22
|
// This is a sample F# app created in Visual Studio 2010, targeting .NET 3.5
// On Windows, the build should target
// -r:"C:\Windows\Microsoft.NET\Framework\v2.0.50727\mscorlib.dll"
// -r:"C:\Windows\Microsoft.NET\Framework\v2.0.50727\System.dll"
// and should reference one of these depending on the language version of F# being used
// Program Files\Reference Assemblies\Microsoft\FSharp\2.0\Runtime\v2.0\FSharp.Core.dll
// Program Files\Reference Assemblies\Microsoft\FSharp\3.0\Runtime\v2.0\FSharp.Core.dll
//
// On Mac, you'll get
//
// -r:"/Library/Frameworks/Mono.framework/Versions/Current/lib/mono/2.0/FSharp.Core.dll"
// -r:"/Library/Frameworks/Mono.framework/Versions/2.10.9/lib/mono/2.0/mscorlib.dll"
// -r:"/Library/Frameworks/Mono.framework/Versions/2.10.9/lib/mono/2.0/System.dll"
// -r:"/Library/Frameworks/Mono.framework/Versions/2.10.9/lib/mono/2.0/System.Core.dll"
module M
[<EntryPoint>]
let main args =
System.Console.WriteLine "Hello world"
0
|