Up
Module type
Basic2
=
Monad_intf.Basic2
Signature
type
('a, 'e) t
val
bind : ('a, 'e)
t
-> ('a -> ('b, 'e)
t
) -> ('b, 'e)
t
val
map : [
| `Define_using_bind
| `Custom
of
('a, 'e)
t
-> f:('a -> 'b) -> ('b, 'e)
t
]
val
return : 'a -> ('a, _)
t