Module Uid.MakeSource

This is the generative functor that ensures that two modules resulting from two different calls to Make will be viewed as different types t by the OCaml typechecker. Prevents mixing up different sorts of identifiers.

Parameters

module X : Info

Signature

Sourcetype t
Sourcetype info = X.info
Sourceval fresh : info -> t
Sourceval get_info : t -> info
Sourceval compare : t -> t -> int
Sourceval format_t : Format.formatter -> t -> unit
Sourceval hash : t -> int