-
-
Save BennieCopeland/a69253779bd5b09a088d14a149822b0e to your computer and use it in GitHub Desktop.
F# - converting a C# dictionary to a Map
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
let inline toMap kvps = | |
kvps | |
|> Seq.map (|KeyValue|) | |
|> Map.ofSeq |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment