package coq-core
Install
Dune Dependency
Authors
Maintainers
Sources
md5=8d852367b54f095d9fbabd000304d450
sha512=46922d5f2eb6802a148a52fd3e7f0be8370c93e7bc33cee05cf4a2044290845b10ccddbaa306f29c808e7c5019700763e37e45ff6deb507b874a4348010fed50
doc/coq-core.clib/Dyn/Make/index.html
Module Dyn.Make
Source
Parameters
Signature
Type of dynamic tags
create n
returns a tag describing a type called n
. create
raises an exception if n
is already registered. Type names are hashed, so create
may raise even if no type with the exact same name was registered due to a collision.
anonymous i
returns a tag describing an i
-th anonymous type. If anonymous
is not used together with create
, max_int
anonymous types are available. anonymous
raises an exception if i
is already registered.
eq t1 t2
returns Some witness
if t1
is the same as t2
, None
otherwise.
dump ()
returns a list of (tag, name) pairs for every type tag registered in this Dyn.Make
instance.
name n
returns Some t
where t is a boxed tag previously registered with create n
, or None
if there is no such tag.
Map from type tags to values parameterized by the tag type