Higher-Order Functions
l
By a higher-order function, we mean one that
either:
l
takes a function as an argument, or
l
returns a function as a value
l
Predicates are special cases of functions.