Some code below, note the docs are here

[link:research.microsoft.com]

1
2
3
4
5
6
let mutable aMap = Map.empty<string, string>
aMap <- aMap.Add("Key1","Value1")
aMap <- aMap.Add("Key2","Value2")
aMap |> Map.iter (fun k v -> printfn "%s: %s" k v)
// also note
aMap |> Seq.iter (fun (KeyValue(k,v)) -> printfn "%s: %s" k v)
By on 7/19/2009 4:03 AM ()
IntelliFactory Offices Copyright (c) 2011-2012 IntelliFactory. All rights reserved.
Home | Products | Consulting | Trainings | Blogs | Jobs | Contact Us | Terms of Use | Privacy Policy | Cookie Policy
Built with WebSharper