Module type Bind.WITH_MAP_AND_JOIN

Minimal definition using map and join.

type 'a t

The type held by the Bind.

val map : ('a -> 'b) -> 'a t -> 'b t

Mapping over from 'a to 'b.

val join : 'a t t -> 'a t

join remove one level of monadic structure, projecting its bound argument into the outer level.