Module type Indexed_monad.SYNTAX

Syntax extensions.

type ('a, 'index) t

The type held by the Indexed Monad.

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

Syntactic shortcuts for flipped version of CORE.bind:

let* x = e in f is equals to bind (fun x -> f) e.

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

let operator for mapping.