Module TableclothSet.Of
This functor lets you describe the type of Sets a little more concisely.
let names : Set.Of(String).t =
Set.fromList (module String) ["Andrew"; "Tina"]
Is the same as
let names : (string, String.identity) Set.t =
Set.fromList (module String) ["Andrew"; "Tina"]
Parameters
argument 1 M
module M : TableclothComparator.S
Signature
type t
type nonrec t = ( M.t, M.identity ) t