Imandrakit_typeregType registry.
The registry maps path+type name to a concise description of the type's definition, which can be useful to generate documentation, JSON schema, check version compatibility, etc.
module Ty_expr : sig ... endConcise type expression
module Ty_def : sig ... endConcise type definition
val create : unit -> tval top : tToplevel (default) register
declare reg ~__FILE__ tys declares a clique of types to the registry, with these types being declared in __FILE__.
val to_iter : t -> Ty_def.clique Iter.tval find :
t ->
path:string ->
name:string ->
unit ->
(Ty_def.t * Ty_def.clique) optionval find_exn :
t ->
path:string ->
name:string ->
unit ->
Ty_def.t * Ty_def.cliqueSame as find but: