Monad_plus.WITH_BIND
Minimal definition using neutral
, combine
, return
, bind
.
include Indexed_monad.WITH_RETURN with type ('a, 'index) t := 'a t
val return : 'a -> 'a t
Lift a value into a t
.
val neutral : 'a t
The neutral element of the t
.