Functor and map in PureScript

In this lesson, you will see how map takes our elements of a list or an array one at a time, performs an operation and returns us a new object.

You will then learn the inner workings of map by defining our own map function. In the process, you’ll see how we just created a functor in PureScript. We will explore what this means as well.

Please take a moment to tell your friends:

You must be a PRO Member to view code