Module Univ.Constr

module Constr: sig .. end
The Constr.t represents a single constructor in the extensible variant type. On creation, one must provide a name for the constructor (used only for display), and a sexp-converter for serializing the argument to the variant.

type 'a t 
val create : string -> ('a -> Sexplib.Sexp.t) -> 'a t
create name to_sexp