higher-order function
A function that takes one or more functions as an input, and returns a function as a result.
Noun
- A function that takes one or more functions as an input, and returns a function as a result.
- A higher-order function is a function that operates on other functions instead of on data values. Some of these take data arguments and manufacture functions to order; others, like the imap() function of Chapter 4,...
Synonyms: HOF