Source: wikibot/profunctor

= Profunctor
{wiki=Profunctor}

A **profunctor** is a concept that arises in category theory, which is a branch of mathematics. It is a generalization of a functor. Specifically, a profunctor can be understood as a type of structure that relates two categories. You can think of a profunctor as a functor that is "indexed" by two categories.