Update Functor.md

This commit is contained in:
Robert Mennell
2018-07-24 10:29:17 -07:00
committed by GitHub
parent a3fb69e946
commit fb4547b4f1

View File

@ -2,4 +2,4 @@
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 `Array`s are Functors.
JavaScript `Array`s are an example of Functor.