Module Cduce_types__Ident
Handling of identifiers (e.g. type names) Identifier are qualified names (e.g. to denote a type defined in a particular name space.)
Identifiers
module Id = Ns.QNametype id= Id.t
module IdSet : SortedList.S with type Elem.t = Id.tSets of identifiers, implemented as sorted lists. This representation is used when structural equality of equal sets is needed.
module IdMap = IdSet.MapMaps using identifiers as keys, implemented as sorted lists of pairs. This representation is used when structural equality of equal sets is needed.
module Env : Stdlib.Map.S with type Env.key = Id.tMaps using identifiers as keys, using OCaml standard Map module.
Convenience aliases
Labels
Labels are internalised identifiers, that is, identifiers represented by a unique integer. These are used e.g. for the internal representation of record fields.
module Label = Ns.Labelmodule LabelSet : SortedList.S with type Elem.t = Ns.Label.tmodule LabelMap = LabelSet.Maptype label= Ns.Label.ttype 'a label_map= 'a LabelMap.map