Map.OfSourceThis functor lets you describe the type of Maps a little more concisely.
let string_to_int : int Map.Of(String).t =
Map.from_list (module String) [("Apple", 2); ("Pear", 0)]Is the same as
let string_to_int : (string, int, String.identity) Map.t =
Map.from_list (module String) [("Apple", 2); ("Pear", 0)]