Files
30-seconds-of-code/glossary/Functor.md
Angelos Chalaris 6605e71583 Update Functor.md
2018-07-24 20:50:32 +03:00

299 B

Functor

A Functor is a data type common in functional programming that implements a map method. 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 the Functor data type.