Module Core_kernel.Unique_id

Functors for creating modules that mint unique identifiers.

module type Id = Core_kernel__Unique_id_intf.Id
module Int : functor () -> Id with type t = private Base.Int.t

An abstract unique identifier based on ordinary OCaml integers. Be careful, this may easily overflow on 32-bit platforms! Int63 is a safer choice for portability.

module Int63 : functor () -> Id with type t = private Int63.t

An abstract unique identifier based on 63 bit integers.