Sunday, February 05, 2012

F# code snippets - Part 1

Here is a simple F# program. This program prints hello world on to the console.


//////////////////////////
//  first.fs
//
//  A Hello world program in F#
//
//  Written by Praseed Pai K.T.
//             http://praseedp.blogspot.com
//
//
//
//  fsc first.fs
//  first.exe
//
   
open System

[<EntryPoint>]

let main(args) =
   printfn  "Hello world..."
   0

0 comments: