functor
- noun
- /ˈfʌŋktər/
- Specialized
- Many programming languages implement functors to facilitate operations on data structures, enhancing code modularity.
Examples
-
The functor... ...is in the two categories.
-
Projecting a verb onto a collection of nouns is not all that difficult, even if it does mean proliferating "functor" interfaces.
Blog text (19) -
In mathematics, a functor transforms one category into another while preserving the structure between them.
-
In programming, a functor is an object that can be treated as a function, allowing for functional programming techniques.
Surface Forms
Etymology
Functor comes from function plus the agent ending -or, so it originally meant 'one that does a function'. In math and programming, a functor is a thing that 'does' a mapping or applies a function to objects, which is why the name fits.