Strong.Core_over_profunctor_via_snd
module P : Preface_specs.Profunctor.CORE
module S : Preface_specs.Strong.WITH_SND with type ('a, 'b) t = ('a, 'b) P.t
type ('a, 'b) t = ('a, 'b) S.t
The type held by the Strong Profunctor.
Strong 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.
val fst : ('a, 'b) t -> ('a * 'c, 'b * 'c) t
Act on the first parameter of the product.
val snd : ('b, 'c) t -> ('a * 'b, 'a * 'c) t
Act on the second parameter of the product.