Become a member
to unlock all features

Level Up!

Access all courses & lessons on egghead today and lock-in your price for life.


    Functor and map in PureScript

    0.11.7 - ^0.12

    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.