Functor (functional programming)
= Functor (functional programming)
{wiki=Functor_(functional_programming)}
In functional programming, a **functor** is a design pattern that allows for the application of a function over a wrapped or contained value (often in some context). The primary idea behind a functor is to support the composition of functions and enable the transformation of data in a consistent and predictable manner.