286 B
286 B
Functor
A Functor is a data type common in functional programming that impliments a method map. The map method takes a function and applies it to the data in the Functor, returning a new instance of the Functor with the result.
JavaScript Arrays are an example of Functor.