package incr_dom_sexp_form

  1. Overview
  2. Docs

A 'a Case.t is implemented as a 'a Sexp_form.t. When you create a case from a variant constructor for variant Foo.t, say a constructor for type int * string, you get a (int -> string -> Foo.t) Case.t.

For more information, see the documentation for variant.

type 'a t
val map : 'a t -> f:('a -> 'b) -> 'b t