Pages

November 25, 2009

syntax highlighting

Here is some C-Sharp code

public static void Main() {
    Console.Out.WriteLine("test")
}

And some F-Sharp code

let xs = seq { for i in 1..10 yield (i, i*i) }
let result = 
   xs 
     |> Seq.iter (fun item -> printfn "%A" item)

No comments :