Module Type.IdSource

Type idenfiers.

Type identifiers

Sourcetype 'a t

The type for type identifiers for a type 'a.

Sourceval make : unit -> 'a t

make () is a new type identifier.

Sourceval provably_equal : 'a t -> 'b t -> ('a, 'b) eq option

provably_equal id0 id1 determines if id0 and id1 are equal.

Sourceval uid : 'a t -> int

uid id is a runtime unique identifier for id.