Module type Strong.WITH_CONTRAMAP_FST_AND_MAP_SND_AND_SND

Minimal interface using contramap_fst and map_snd and snd.

type ('a, 'b) t

The type held by the Strong Profunctor.

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 snd : ('b, 'c) t -> ('a * 'b, 'a * 'c) t

Act on the second parameter of the product.