Up

Module Monad_intf

Signature

module type Basic = sig .. end
module type Infix = sig .. end
module type Syntax = sig .. end
opening a module of this type allows one to use the %bind and %map syntax extensions defined by ppx_let, as well as brings return into scope
module type S_without_syntax = sig .. end
module type S = sig .. end
module type Basic2 = sig .. end
Multi parameter monad. The second parameter get unified across all the computation.
module type Infix2 = sig .. end
Same as Infix, except the monad type has two arguments.
module type Syntax2 = sig .. end
module type S2 = sig .. end
The same as S except the monad type has two arguments.
module S_to_S2 (X : S) : S2 with type ('a, 'e) t = 'a X.t
module type Monad = sig .. end