package profunctor

  1. Overview
  2. Docs

A profunctor constructed from an applicative.

In this case contra_map has no effect, and map and both behave exactly as they would with the underlying applicative.

type 'a applicative
type ('b, 'a) t = 'b applicative
include S with type ('b, 'a) t := ('b, 'a) t
val map : ('a, 'u) t -> f:('a -> 'b) -> ('b, 'u) t
val contra_map : ('u, 'b) t -> f:('a -> 'b) -> ('u, 'a) t
val both : ('a, 'i) t -> ('b, 'i) t -> ('a * 'b, 'i) t
module Of_record : Record_builder with type 'a profunctor_term = 'a applicative and type ('b, 'a) profunctor = ('b, 'a) t