This type represents values with two possibilities. Either can be seen as a
generic sum type, the dual of Tuple. First is neither more important nor less
important than Second.
include sig ... endval t_of_sexp : (Base__.Sexplib.Sexp.t ‑> 'f) ‑> (Base__.Sexplib.Sexp.t ‑> 's) ‑> Base__.Sexplib.Sexp.t ‑> ('f, 's) tval sexp_of_t : ('f ‑> Base__.Sexplib.Sexp.t) ‑> ('s ‑> Base__.Sexplib.Sexp.t) ‑> ('f, 's) t ‑> Base__.Sexplib.Sexp.tval hash_fold_t : (Base__.Ppx_hash_lib.Std.Hash.state ‑> 'f ‑> Base__.Ppx_hash_lib.Std.Hash.state) ‑> (Base__.Ppx_hash_lib.Std.Hash.state ‑> 's ‑> Base__.Ppx_hash_lib.Std.Hash.state) ‑> Base__.Ppx_hash_lib.Std.Hash.state ‑> ('f, 's) t ‑> Base__.Ppx_hash_lib.Std.Hash.stateinclude Invariant.S2 with type (a, b) t := (a, b) tval invariant : 'a Base__.Invariant_intf.inv ‑> 'b Base__.Invariant_intf.inv ‑> ('a, 'b) t Base__.Invariant_intf.invval value : ('a, 'a) t ‑> 'aval iter : ('a, 'b) t ‑> first:('a ‑> unit) ‑> second:('b ‑> unit) ‑> unitval value_map : ('a, 'b) t ‑> first:('a ‑> 'c) ‑> second:('b ‑> 'c) ‑> 'cmodule First : Either_intf.Focused with type ('a, 'b) t = ('a, 'b) tmodule Second : Either_intf.Focused with type ('a, 'b) t = ('b, 'a) tval is_first : (_, _) t ‑> boolval is_second : (_, _) t ‑> boolval second : 's ‑> (_, 's) tmodule Export : sig ... end