April 2018
Intermediate to advanced
408 pages
10h 42m
English
In this chapter, we have seen two reductions that are higher-order functions: max() and min(). We also looked at the two central higher-order functions, map() and filter(). We also looked at sorted().
We also looked at how to use a higher-order function to also transform the structure of data. We can perform several common transformations, including wrapping, unwrapping, flattening, and structure sequences of different kinds.
We looked at three ways to define our own higher-order functions, which are as follows: