A higher-order function, as opposed to a first-order function, can have one of three forms:
One or more of its parameters is a function, and it returns some value.
It returns a function, but none of its parameters is a function.
Both of the above: One or more of its parameters is a fu...