Via_map_and_duplicate.Req
type 'a t
The type held by the Comonad.
Comonad
val extract : 'a t -> 'a
Extract a 'a from ('a, 'index) t. Dual of return.
'a
('a, 'index) t
val duplicate : 'a t -> 'a t t
Dual of join.
val map : ('a -> 'b) -> 'a t -> 'b t
Mapping over t from 'a to 'b.
t
'b