Like Dictionary, Map is a seq of KeyValuePairs; the KeyValue active pattern breaks those up:

for KeyValue(dbl, ndx) in dblTbl do

By on 5/23/2010 11:21 AM ()

Handy :-)

By on 5/23/2010 1:44 PM ()
1
2
3
4
5
6
7
8
let map = Map.empty<int, int>


let doFunction key value =
    printfn "%A -> %A" key value


Map.iter doFunction map
By on 5/23/2010 10:03 AM ()

You can try to use one of Map metods like Map.iter or Map.forall

By on 5/23/2010 9:52 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