Module Base__.Monad_intf.S3_to_S2
Parameters
Signature
type ('a, 'e) t = ('a, 'e, unit) X.tinclude Infix2 with type (a, e) t := (a, e) t
val (>>=) : ('a, 'e) t ‑> ('a ‑> ('b, 'e) t) ‑> ('b, 'e) tval (>>|) : ('a, 'e) t ‑> ('a ‑> 'b) ‑> ('b, 'e) tinclude Syntax2 with type (a, e) t := (a, e) t
val bind : ('a, 'e) t ‑> f:('a ‑> ('b, 'e) t) ‑> ('b, 'e) tval return : 'a ‑> ('a, _) tval map : ('a, 'e) t ‑> f:('a ‑> 'b) ‑> ('b, 'e) tval join : (('a, 'e) t, 'e) t ‑> ('a, 'e) tval ignore_m : (_, 'e) t ‑> (unit, 'e) tval all : ('a, 'e) t list ‑> ('a list, 'e) tval all_unit : (unit, 'e) t list ‑> (unit, 'e) tval all_ignore : (unit, 'e) t list ‑> (unit, 'e) t- Deprecated [since 2018-02] Use [all_unit]