Module type Indexed_bind.WITH_MAP_AND_JOIN

Minimal definition using map and join.

type ('a, 'index) t

The type held by the Indexed Bind.

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

Mapping over from 'a to 'b.

val join : (('a, 'index) t, 'index) t -> ('a, 'index) t

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