Module Summary.Dyn
We provide safe projection from the summary to the types stored in it.
val create : string -> 'a tagcreate nreturns a tag describing a type calledn.createraises an exception ifnis already registered. Type names are hashed, socreatemay raise even if no type with the exact same name was registered due to a collision.
val anonymous : int -> 'a taganonymous ireturns a tag describing ani-th anonymous type. Ifanonymousis not used together withcreate,max_intanonymous types are available.anonymousraises an exception ifiis already registered.
val eq : 'a tag -> 'b tag -> ('a, 'b) CSig.eq optioneq t1 t2returnsSome witnessift1is the same ast2,Noneotherwise.
val repr : 'a tag -> stringrepr tagreturns the name of the type represented bytag.
val dump : unit -> (int * string) listdump ()returns a list of (tag, name) pairs for every type tag registered in thisDyn.Makeinstance.
val name : string -> any optionname nreturnsSome twhere t is a boxed tag previously registered withcreate n, orNoneif there is no such tag.
module Map : functor (Value : Dyn.ValueS) -> Dyn.MapS with type 'a key = 'a tag and type 'a value = 'a Value.tMap from type tags to values parameterized by the tag type
module Easy : sig ... end