package catala
Install
dune-project
Dependency
Authors
Maintainers
Sources
md5=2615968670ac21b1d00386a9b04b3843
sha512=eff292fdd75012f26ce7b17020f5a8374eef37cd4dd6ba60338dfbe89fbcad3443d1b409e44c182b740da9f58dff7e76dcb8ddefe47f9b2b160666d1c6930143
doc/catala.catala_utils/Catala_utils/Uid/index.html
Module Catala_utils.Uid
Source
Global identifiers factories using a generative functor
The 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.
Identifiers 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.
Used 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
Handling of Uids with additional path information
Same as Gen
but also registers path information