Module Bastet__Option
Option is the equivalent of Maybe in Haskell for Ocaml
val (<.) : ('a, 'b) Bastet__Function.Semigroupoid.t -> ('c, 'a) Bastet__Function.Semigroupoid.t -> ('c, 'b) Bastet__Function.Semigroupoid.tval maybe : f:('a -> 'b) -> default:'b -> 'a option -> 'bval getWithDefault : 'a -> 'a option -> 'a
module type MAGMA_F = functor (M : Bastet.Interface.MAGMA) -> Bastet.Interface.MAGMA with type t = M.t optionmodule type SEMIGROUP_F = functor (S : Bastet.Interface.SEMIGROUP) -> Bastet.Interface.SEMIGROUP with type t = S.t optionmodule type MONOID_F = functor (S : Bastet.Interface.SEMIGROUP) -> Bastet.Interface.MONOID with type t = S.t optionmodule type QUASIGROUP_F = functor (Q : Bastet.Interface.QUASIGROUP) -> Bastet.Interface.QUASIGROUP with type t = Q.t optionmodule type LOOP_F = functor (L : Bastet.Interface.LOOP) -> Bastet.Interface.LOOP with type t = L.t optionmodule type EQ_F = functor (E : Bastet.Interface.EQ) -> Bastet.Interface.EQ with type t = E.t optionmodule type ORD_F = functor (O : Bastet.Interface.ORD) -> Bastet.Interface.ORD with type t = O.t optionmodule type SHOW_F = functor (S : Bastet.Interface.SHOW) -> Bastet.Interface.SHOW with type t = S.t optionmodule type TRAVERSABLE_F = functor (A : Bastet.Interface.APPLICATIVE) -> Bastet.Interface.TRAVERSABLE with type 'a t = 'a option and type 'a applicative_t = 'a A.tmodule Functor : Bastet.Interface.FUNCTOR with type 'a t = 'a optionmodule Apply : Bastet.Interface.APPLY with type 'a t = 'a optionmodule Applicative : Bastet.Interface.APPLICATIVE with type 'a t = 'a optionmodule Monad : Bastet.Interface.MONAD with type 'a t = 'a optionmodule Semigroup : functor (S : Bastet.Interface.SEMIGROUP) -> sig ... endmodule Quasigroup : QUASIGROUP_Fmodule Alt : Bastet.Interface.ALT with type 'a t = 'a optionmodule Plus : Bastet.Interface.PLUS with type 'a t = 'a optionmodule Alternative : Bastet.Interface.ALTERNATIVE with type 'a t = 'a optionmodule Foldable : Bastet.Interface.FOLDABLE with type 'a t = 'a optionmodule Traversable : functor (A : Bastet.Interface.APPLICATIVE) -> sig ... endmodule Infix : sig ... end