Module Core_kernel.Univ
An extensible "universal" variant type.
Every type id (Type_equal.Id.t) corresponds to one branch of the variant type.
val sexp_of_t : t -> Ppx_sexp_conv_lib.Sexp.t
val type_id_name : t -> Core_kernel__.Import.stringval type_id_uid : t -> Type_equal.Id.Uid.tval create : 'a Type_equal.Id.t -> 'a -> tval does_match : t -> _ Type_equal.Id.t -> Core_kernel__.Import.booldoes_match t idreturnstrueifftwas created bycreate id v.
val match_ : t -> 'a Type_equal.Id.t -> 'a Core_kernel__.Import.optionmatch_ t idreturnsSome viftwas created bycreate id v, and returnsNoneotherwise.match_exn t idreturnsviftwas created bycreate id v, and raises otherwise.
val match_exn : t -> 'a Type_equal.Id.t -> 'a
module View : sig ... end