Module Id.Make
A functor to create a new ID generator module.
Parameters
Signature
module Set : Stdune__.Set_intf.S with type elt = tmodule Map : Stdune__.Map_intf.S with type key = tval gen : unit -> tGenerate a new id.
val peek : unit -> tGet the next id that would be generated, without actually generating it.
val to_int : t -> intConvert the id to an integer.
val compare : t -> t -> Stdune.Ordering.tCompare two ids.
val equal : t -> t -> boolval hash : t -> intval to_sexp : t -> Stdune.Sexp.t