Module type Indexed_monad.WITH_RETURN

Minimal interface using map and product.

type ('a, 'index) t

The type held by the Indexed Monad.

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

Lift a value into a t.