Module type Monad.S

Basic functions required for definition of a monad

type 'a t
val return : 'a -> 'a t
val bind : 'a t -> ('a -> 'b t) -> 'b t