Catala_utils.UidGlobal identifiers factories using a generative functor
module type Info = sig ... endThe information carried in global identifiers
module MarkedString : Info with type info = string Mark.posThe only kind of information carried in Catala identifiers is the original string of the identifier annotated with the position where it is declared or used.
module type Id = sig ... endIdentifiers have abstract types, but are comparable so they can be used as keys in maps or sets. Their underlying information can be retrieved at any time.
module type Style = sig ... endUsed to define a consistent specific style when printing the different kinds of uids
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.
Shortcut for creating a kind of uids over marked strings
module Module : sig ... endmodule Path : sig ... endmodule type Qualified = sig ... endmodule Gen_qualified (_ : Style) () : QualifiedSame as Gen but also registers path information