Parameter Via_extend.Req

type ('a, 'index) t

The type held by the Indexed Comonad.

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

Extract a 'a from t. Dual of return.

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

Dual of bind.