Module Ocamlformat_stdlib.Either
type (!'f, !'s) t = | First of 'f| Second of 's
val compare :
('a -> 'a -> int) ->
('b -> 'b -> int) ->
('a, 'b) t ->
('a, 'b) t ->
intval 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.tval invariant : ('a -> unit) -> ('b -> unit) -> ('a, 'b) t -> unitval swap : ('f, 's) t -> ('s, 'f) tval 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) -> 'cval map : ('a, 'b) t -> first:('a -> 'c) -> second:('b -> 'd) -> ('c, 'd) tval equal :
('f -> 'f -> bool) ->
('s -> 's -> bool) ->
('f, 's) t ->
('f, 's) t ->
boolmodule First : sig ... endval is_first : ('a, 'b) t -> boolval is_second : ('a, 'b) t -> boolval first : 'f -> ('f, 'a) tval second : 's -> ('a, 's) t