File: Program.fs

package info (click to toggle)
fsharp 4.0.0.4%2Bdfsg2-2
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 58,824 kB
  • ctags: 1,395
  • sloc: cs: 2,983; ml: 1,098; makefile: 410; sh: 409; xml: 113
file content (22 lines) | stat: -rw-r--r-- 998 bytes parent folder | download | duplicates (2)
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