May 2017
Intermediate to advanced
590 pages
17h 18m
English
Map is a higher-order function that applies a function to the elements of a range and returns a new range in the same order.
Fold is a higher-order function that applies a combining function to the elements of the range producing a single result. Since the order of the processing can be important, there are usually two versions of this function--foldleft, that processes elements from left to right, and foldright that combines the elements from right to left.
Read now
Unlock full access