Module Cduce_types.Compunit
Compilation units.
Compilation units (CU) act as unique identifiers that are attached to various definitions and allow to distinguishe e.g. between two types defined in different files with the same name.
val hash : t -> intStandard hash function.
val pervasives : tA compilation unit for the global scope.
val enter : unit -> unitenter ()indicate that we enter a new compilation unit. All objects created henceforth that are CU sensitive (global functions, types, …), are tagged with this CU.Compilation unit cannot be nested, it is an error to call
enter()twice without callingleave()in between.
val current : unit -> tReturns the current compilation unit.