Comonad.WITH_EXTEND
Minimal definition using extract and extend.
extract
extend
type 'a t
The type held by the Comonad.
Comonad
val extract : 'a t -> 'a
Extract a 'a from t. Dual of return.
'a
t
val extend : ('a t -> 'b) -> 'a t -> 'b t
Dual of bind.