I am new to F# and trying to print the contents of a map. The code I have is as follows:
let ids = CSVReader.ReadCSVFile(id, true).AsEnumerable()
|> Seq.groupBy( fun (id, _, _) -> id )
|> Seq.map( fun (_, vseq) ->
let vseqr = vseq |> Seq.sortBy( fun (_, _, d) -> -d ) |> Seq.head
let first (x1:string, x2:string, x3:int) = x1
let second (x1:string, x2:string, x3:int) = x2
(first vseqr, second vseqr)
)
|> Map.ofSeq
I am looking to print the contents in Map.ofSeq