package base

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type

The same as S except the monad type has three arguments. The second and third are always just passed through.

Parameters

module X : Basic3

Signature

val (>>=) : ('a, 'd, 'e) X.t -> ('a -> ('b, 'd, 'e) X.t) -> ('b, 'd, 'e) X.t
val (>>|) : ('a, 'd, 'e) X.t -> ('a -> 'b) -> ('b, 'd, 'e) X.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) X.t -> f:('a -> ('b, 'd, 'e) X.t) -> ('b, 'd, 'e) X.t
val return : 'a -> ('a, _, _) X.t
val map : ('a, 'd, 'e) X.t -> f:('a -> 'b) -> ('b, 'd, 'e) X.t
val join : (('a, 'd, 'e) X.t, 'd, 'e) X.t -> ('a, 'd, 'e) X.t
val ignore_m : (_, 'd, 'e) X.t -> (unit, 'd, 'e) X.t
val all : ('a, 'd, 'e) X.t list -> ('a list, 'd, 'e) X.t
val all_unit : (unit, 'd, 'e) X.t list -> (unit, 'd, 'e) X.t
OCaml

Innovation. Community. Security.