Quick actions

cmd+k|ctrl+k

Navigation

Languages

F# Hello World

Snippet info

Language

Fsharp

Visibility

public

Author

btschida

Created

2018-04-16T17:33:04Z

Updated

2018-04-16T18:35:04Z

let add x y = x + y

[<EntryPoint>]
let main argv =
    
    //Printing "Hello World!"
    System.Console.WriteLine("Hello World!")
    
    //Printing evaluation of add function
    System.Console.WriteLine(add 1 2)
    
    //Implicit return value
    0
INFO