UnivAn 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.tval type_id_name : t -> stringval type_id_uid : t -> Core_kernel.Type_equal.Id.Uid.tval create : 'a Core_kernel.Type_equal.Id.t -> 'a -> tval does_match : t -> _ Core_kernel.Type_equal.Id.t -> booldoes_match t id returns true iff t was created by create id v.
val match_ : t -> 'a Core_kernel.Type_equal.Id.t -> 'a optionmatch_ t id returns Some v if t was created by create id v, and returns None otherwise.
match_exn t id returns v if t was created by create id v, and raises otherwise.
val match_exn : t -> 'a Core_kernel.Type_equal.Id.t -> 'amodule View : sig ... end