functor

noun
UK /ˈfʌŋktə/
US /ˈfʌŋktər/

A functor is a special math tool that takes things from one group and turns them into things in another group while keeping their connections the same.

In category theory, a functor maps objects and arrows from one category to another while preserving composition.


OTHER MEANINGS

2. In programming, a functor is a structure that can be mapped over, like a box holding a value you can apply a function to.

In Haskell, the Maybe type is a functor because you can map a function over its value.

3. In grammar and logic, a functor is a word or symbol that combines with other expressions to form a larger one, such as 'and' or 'not'.

The word 'and' acts as a functor that joins two sentences together.

4. In older philosophy, a functor is something that performs a function or duty.

The committee served as a functor in organizing the event.