Core_kernel.EitherThis module extends Base.Either.
include Bin_prot.Binable.S2 with type ('f, 's) t := ('f, 's) tval bin_shape_t : Bin_prot.Shape.t -> Bin_prot.Shape.t -> Bin_prot.Shape.tval bin_size_t : ('a, 'b, ('a, 'b) t) Bin_prot.Size.sizer2val bin_write_t : ('a, 'b, ('a, 'b) t) Bin_prot.Write.writer2val bin_read_t : ('a, 'b, ('a, 'b) t) Bin_prot.Read.reader2val __bin_read_t__ : ('a, 'b, int -> ('a, 'b) t) Bin_prot.Read.reader2val bin_writer_t : ('a, 'b, ('a, 'b) t) Bin_prot.Type_class.S2.writerval bin_reader_t : ('a, 'b, ('a, 'b) t) Bin_prot.Type_class.S2.readerval bin_t : ('a, 'b, ('a, 'b) t) Bin_prot.Type_class.S2.tinclude Typerep_lib.Typerepable.S2 with type ('f, 's) t := ('f, 's) tval typerep_of_t : 'a Typerep_lib.Std_internal.Typerep.t -> 'b Typerep_lib.Std_internal.Typerep.t -> ('a, 'b) t Typerep_lib.Std_internal.Typerep.tval typename_of_t : 'a Typerep_lib.Typename.t -> 'b Typerep_lib.Typename.t -> ('a, 'b) t Typerep_lib.Typename.tinclude module type of struct include Base.Either end with type ('f, 's) t := ('f, 's) tval hash_fold_t : (Base.Hash.state -> 'f -> Base.Hash.state) -> (Base.Hash.state -> 's -> Base.Hash.state) -> Base.Hash.state -> ('f, 's) t -> Base.Hash.stateinclude Base.Sexpable.S2 with type ('f, 's) t := ('f, 's) tval t_of_sexp : (Sexplib0.Sexp.t -> 'a) -> (Sexplib0.Sexp.t -> 'b) -> Sexplib0.Sexp.t -> ('a, 'b) tval sexp_of_t : ('a -> Sexplib0.Sexp.t) -> ('b -> Sexplib0.Sexp.t) -> ('a, 'b) t -> Sexplib0.Sexp.tinclude Base.Invariant.S2 with type ('a, 'b) t := ('a, 'b) tval invariant : ('a -> unit) -> ('b -> unit) -> ('a, 'b) t -> unitval 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 type Focused = sig ... endval is_first : (_, _) t -> boolval is_second : (_, _) t -> boolval first : 'f -> ('f, _) tfirst and second are First.return and Second.return.
val second : 's -> (_, 's) tinclude Comparator.Derived2 with type ('a, 'b) t := ('a, 'b) tval comparator : ('a, 'cmp_a) Comparator.comparator -> ('b, 'cmp_b) Comparator.comparator -> (('a, 'b) t, ('cmp_a, 'cmp_b) comparator_witness) Comparator.comparatorinclude Quickcheckable.S2 with type ('a, 'b) t := ('a, 'b) tval quickcheck_generator : 'a Base_quickcheck.Generator.t -> 'b Base_quickcheck.Generator.t -> ('a, 'b) t Base_quickcheck.Generator.tval quickcheck_observer : 'a Base_quickcheck.Observer.t -> 'b Base_quickcheck.Observer.t -> ('a, 'b) t Base_quickcheck.Observer.tval quickcheck_shrinker : 'a Base_quickcheck.Shrinker.t -> 'b Base_quickcheck.Shrinker.t -> ('a, 'b) t Base_quickcheck.Shrinker.tmodule Stable : sig ... end