Functor

/ˈfʌŋktər/ noun

A design pattern representing a container that can be mapped over, implementing a map function that applies a transformation to the contained values while preserving the container structure. Functors must satisfy identity and composition laws.

Borrowed from category theory, where it was coined by Samuel Eilenberg and Saunders Mac Lane in the 1940s, from Latin 'functio' meaning performance. The term entered programming through functional programming languages that adopted mathematical abstractions.

📖 Full word page — etymology, 47 translations, audio 🔑 Get Free API Key — 50 lookups/day 📚 Read the Docs — integrate Word Orb