Joker.To_profunctor
module F : Preface_specs.Functor.CORE
type ('a, 'b) t = 'b F.t
The type held by the Profunctor.
Profunctor
val dimap : ('a -> 'b) -> ('c -> 'd) -> ('b, 'c) t -> ('a, 'd) t
val contramap_fst : ('a -> 'b) -> ('b, 'c) t -> ('a, 'c) t
Contramapping over the first argument.
val map_snd : ('b -> 'c) -> ('a, 'b) t -> ('a, 'c) t
Mapping over the second argument.