Module type Base__.Monad_intf.Basic2

Multi parameter monad. The second parameter gets unified across all the computation. This is used to encode monads working on a multi parameter data structure like (('a,'b) result).

type ('a, 'e) t
val bind : ('a'et ‑> f:('a ‑> ('b'et) ‑> ('b'et
val map : [ `Define_using_bind | `Custom of ('a'et ‑> f:('a ‑> 'b) ‑> ('b'et ]
val return : 'a ‑> ('a_t