Module type Bind.WITH_BIND

Minimal definition using bind.

type 'a t

The type held by the Bind.

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

bind f m passes the result of computation m to function f.