Tutorial by Examples

Windows If you have Visual Studio (any version including express and community) installed, F# should already be included. Just choose F# as the language when you create a new project. Or see http://fsharp.org/use/windows/ for more options. OS X Xamarin Studio supports F#. Alternately, you could u...
This is the code for a simple console project, that prints "Hello, World!" to STDOUT, and exits with an exit code of 0 [<EntryPoint>] let main argv = printfn "Hello, World!" 0 Example breakdown Line-by-line: [<EntryPoint>] - A .net Attribute that m...
F# Interactive, is a REPL environment that lets you execute F# code, one line at a time. If you have installed Visual Studio with F#, you can run F# Interactive in console by typing "C:\Program Files (x86)\Microsoft SDKs\F#\4.0\Framework\v4.0\Fsi.exe". On Linux or OS X, the command is fsh...

Page 1 of 1