package coq-core
Install
dune-project
Dependency
Authors
Maintainers
Sources
md5=13d2793fc6413aac5168822313e4864e
sha512=ec8379df34ba6e72bcf0218c66fef248b0e4c5c436fb3f2d7dd83a2c5f349dd0874a67484fcf9c0df3e5d5937d7ae2b2a79274725595b4b0065a381f70769b42
doc/coq-core.library/Libobject/Dyn/index.html
Module Libobject.Dyn
val create : string -> 'a tagcreate 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.
val anonymous : int -> 'a taganonymous 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.
val repr : 'a tag -> stringrepr tag returns the name of the type represented by tag.
dump () returns a list of (tag, name) pairs for every type tag registered in this Dyn.Make instance.
val name : string -> any optionname 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
module HMap (V1 : Dyn.ValueS) (V2 : Dyn.ValueS) : sig ... endmodule Easy : sig ... end