Module type Bind.WITH_MAP_AND_KLEISLI_COMPOSITION

Minimal definition using map and compose_left_to_right.

type 'a t

The type held by the Bind.

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

Mapping over t from 'a to 'b.

val compose_left_to_right : ('a -> 'b t) -> ('b -> 'c t) -> 'a -> 'c t

Composing monadic functions using Kleisli Arrow (from left to right).