package accessor

  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 composed across all computation.

val (>>=) : ('i, 'a, 'j) t -> ('a -> ('j, 'b, 'k) t) -> ('i, 'b, 'k) t
val (>>|) : ('i, 'a, 'j) t -> ('a -> 'b) -> ('i, 'b, 'j) 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 composed across all computation.

val bind : ('i, 'a, 'j) t -> f:('a -> ('j, 'b, 'k) t) -> ('i, 'b, 'k) t
val return : 'a -> ('i, 'a, 'i) t
val map : ('i, 'a, 'j) t -> f:('a -> 'b) -> ('i, 'b, 'j) t
val join : ('i, ('j, 'a, 'k) t, 'j) t -> ('i, 'a, 'k) t
val ignore_m : ('i, _, 'j) t -> ('i, unit, 'j) t
val all : ('i, 'a, 'i) t list -> ('i, 'a list, 'i) t
val all_unit : ('i, unit, 'i) t list -> ('i, unit, 'i) t
OCaml

Innovation. Community. Security.