profunctor
A profunctor is a mathematical concept that combines aspects of functors and distributors. In category theory, a profunctor is a functor from a product category to a category, generalizing the concept of a functor from a single category to a category. Profunctors are often used to describe the relationship between two categories, providing a way to associate a source category with a target category.
A profunctor is formally defined as a functor from the product category of two source categories to
An important aspect of profunctors is their ability to describe adjunctions, a fundamental notion in category
The operations on profunctors are defined similarly to those of distributors, enabling the composition of profunctors.