Module Monad.Make_indexed
Parameters
Signature
val (>>=) : ('a, 'i, 'j) X.t -> ('a -> ('b, 'j, 'k) X.t) -> ('b, 'i, 'k) X.t
val (>>|) : ('a, 'i, 'j) X.t -> ('a -> 'b) -> ('b, 'i, 'j) X.t
val bind : ('a, 'i, 'j) X.t -> f:('a -> ('b, 'j, 'k) X.t) -> ('b, 'i, 'k) X.t
val return : 'a -> ('a, 'i, 'i) X.t
val map : ('a, 'i, 'j) X.t -> f:('a -> 'b) -> ('b, 'i, 'j) X.t
val join : (('a, 'j, 'k) X.t, 'i, 'j) X.t -> ('a, 'i, 'k) X.t
val ignore_m : (_, 'i, 'j) X.t -> (unit, 'i, 'j) X.t
val all : ('a, 'i, 'i) X.t list -> ('a list, 'i, 'i) X.t
val all_unit : (unit, 'i, 'i) X.t list -> (unit, 'i, 'i) X.t