CCEitherEither Monad
Module that is compatible with Either from OCaml 4.12 but can be use with any ocaml version compatible with container
type 'a printer = Format.formatter -> 'a -> unitval left : 'a -> ('a, 'b) tval right : 'b -> ('a, 'b) tval is_left : ('a, 'b) t -> boolval is_right : ('a, 'b) t -> boolval find_left : ('a, 'b) t -> 'a optionval find_right : ('a, 'b) t -> 'b optionval fold : left:('a -> 'c) -> right:('b -> 'c) -> ('a, 'b) t -> 'cval iter : left:('a -> unit) -> right:('b -> unit) -> ('a, 'b) t -> unitval for_all : left:('a -> bool) -> right:('b -> bool) -> ('a, 'b) t -> bool