package catala
Install
Dune Dependency
Authors
Maintainers
Sources
md5=8f891209d18b6540df9c34b2d1a6a783
sha512=737770b87a057674bceefe77e8526720732552f51f424afcebcb6a628267eab522c4fd993caca1ae8ed7ace65a4a87e485af10c1676e51ca5939509a1b841ac2
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