Foldl in PureScript

Folds in PureScript take a List, Array, or some datatype and recursively apply a function to each item which will produce us a single value.

In this lesson, we are going to see what folds are and how they are used to fold over arrays and other types by defining our own fold function.

Please take a moment to tell your friends:

You must be a PRO Member to view code