ProfunctorSourceA profunctor has an input end with contravariant map, an output end with covariant map and an operation to join two terms with the same input type giving both outputs.
A module used to traverse each field of a record performing some action using a specific profunctor.
A profunctor constructed from an applicative.
A profunctor-ish where both parameters must be mapped together at the same time. This is less expressive but appears in several libraries.
Embed a Conv_based profunctor-ish into a full profunctor, allowing the use of Record_builder directly.
module Record_builder
(F : S) :
Record_builder
with type ('b, 'a) profunctor = ('b, 'a) F.t
and type 'a profunctor_term = ('a, 'a) F.tmodule Of_applicative
(F : Base.Applicative.S) :
Of_applicative with type 'a applicative := 'a F.tA profunctor which represents a function where Fn.id may sometimes be distinguished from other functions.