Module Bastet__Result
Result is the equivalent of Either in Haskell for Ocaml
val flip : ('a -> 'b -> 'c) -> 'b -> 'a -> 'cval const : 'a -> 'b -> 'aval result : ('a -> 'c) -> ('b -> 'c) -> ('a, 'b) Stdlib.result -> 'c
module type MAGMA_F = functor (T : Bastet.Interface.TYPE) -> functor (M : Bastet.Interface.MAGMA) -> Bastet.Interface.MAGMA with type t = (M.t, T.t) Stdlib.resultmodule type MEDIAL_MAGMA_F = functor (T : Bastet.Interface.TYPE) -> functor (M : Bastet.Interface.MAGMA) -> Bastet.Interface.MEDIAL_MAGMA with type t = (M.t, T.t) Stdlib.resultmodule type SEMIGROUP_F = functor (T : Bastet.Interface.TYPE) -> functor (S : Bastet.Interface.SEMIGROUP) -> Bastet.Interface.SEMIGROUP with type t = (S.t, T.t) Stdlib.resultmodule type FUNCTOR_F = functor (T : Bastet.Interface.TYPE) -> Bastet.Interface.FUNCTOR with type 'a t = ('a, T.t) Stdlib.resultmodule type APPLY_F = functor (T : Bastet.Interface.TYPE) -> Bastet.Interface.APPLY with type 'a t = ('a, T.t) Stdlib.resultmodule type APPLICATIVE_F = functor (T : Bastet.Interface.TYPE) -> Bastet.Interface.APPLICATIVE with type 'a t = ('a, T.t) Stdlib.resultmodule type MONAD_F = functor (T : Bastet.Interface.TYPE) -> Bastet.Interface.MONAD with type 'a t = ('a, T.t) Stdlib.resultmodule type ALT_F = functor (T : Bastet.Interface.TYPE) -> Bastet.Interface.ALT with type 'a t = ('a, T.t) Stdlib.resultmodule type EXTEND_F = functor (T : Bastet.Interface.TYPE) -> Bastet.Interface.EXTEND with type 'a t = ('a, T.t) Stdlib.resultmodule type SHOW_F = functor (Ok : Bastet.Interface.SHOW) -> functor (Error : Bastet.Interface.SHOW) -> Bastet.Interface.SHOW with type t = (Ok.t, Error.t) Stdlib.resultmodule type EQ_F = functor (Ok : Bastet.Interface.EQ) -> functor (Error : Bastet.Interface.EQ) -> Bastet.Interface.EQ with type t = (Ok.t, Error.t) Stdlib.resultmodule type ORD_F = functor (Ok : Bastet.Interface.ORD) -> functor (Error : Bastet.Interface.ORD) -> Bastet.Interface.ORD with type t = (Ok.t, Error.t) Stdlib.resultmodule type BOUNDED_F = functor (Ok : Bastet.Interface.BOUNDED) -> functor (Error : Bastet.Interface.BOUNDED) -> Bastet.Interface.BOUNDED with type t = (Ok.t, Error.t) Stdlib.resultmodule type FOLDABLE_F = functor (T : Bastet.Interface.TYPE) -> Bastet.Interface.FOLDABLE with type 'a t = ('a, T.t) Stdlib.resultmodule type TRAVERSABLE_F = functor (T : Bastet.Interface.TYPE) -> functor (A : Bastet.Interface.APPLICATIVE) -> Bastet.Interface.TRAVERSABLE with type 'a t = ('a, T.t) Stdlib.result and type 'a applicative_t = 'a A.tmodule type BITRAVERSABLE_F = functor (A : Bastet.Interface.APPLICATIVE) -> Bastet.Interface.BITRAVERSABLE with type ('a, 'b) t = ('a, 'b) Stdlib.result and type 'a applicative_t = 'a A.tmodule Medial_Magma : MEDIAL_MAGMA_Fmodule Semigroup : SEMIGROUP_Fmodule Bifunctor : Bastet.Interface.BIFUNCTOR with type ('a, 'b) t = ('a, 'b) Stdlib.resultmodule Applicative : APPLICATIVE_Fmodule Many_Valued_Logic : sig ... endmodule Foldable : FOLDABLE_Fmodule Bifoldable : Bastet.Interface.BIFOLDABLE with type ('a, 'b) t = ('a, 'b) Stdlib.resultmodule Traversable : TRAVERSABLE_Fmodule Bitraversable : BITRAVERSABLE_Fmodule Infix : sig ... endmodule Choose : functor (A : Bastet.Interface.ALT) -> sig ... endmodule Unsafe : sig ... end