base

Full standard library replacement for OCaml
IN THIS PACKAGE
Parameter #1 Base . Monad . Of_monad3 . Monad
type ('a, 'd, 'e) t
val (>>=) : ( 'a, 'd, 'e ) t -> ( 'a -> ( 'b, 'd, 'e ) t ) -> ( 'b, 'd, 'e ) t
val (>>|) : ( 'a, 'd, 'e ) t -> ( 'a -> 'b ) -> ( 'b, 'd, 'e ) t
module Let_syntax : sig ... end
module Monad_infix : sig ... end

Same as Infix, except the monad type has three arguments. The second and third are always just passed through.

val bind : ( 'a, 'd, 'e ) t -> f:( 'a -> ( 'b, 'd, 'e ) t ) -> ( 'b, 'd, 'e ) t
val return : 'a -> ( 'a, _, _ ) t
val map : ( 'a, 'd, 'e ) t -> f:( 'a -> 'b ) -> ( 'b, 'd, 'e ) t
val join : ( ( 'a, 'd, 'e ) t, 'd, 'e ) t -> ( 'a, 'd, 'e ) t
val ignore_m : ( _, 'd, 'e ) t -> ( unit, 'd, 'e ) t
val all : ( 'a, 'd, 'e ) t list -> ( 'a list, 'd, 'e ) t
val all_unit : ( unit, 'd, 'e ) t list -> ( unit, 'd, 'e ) t