News

‘Higher-order functions’ is a fancy term for functions that take other functions as arguments or that return functions. Very powerful!
Let’s begin with a rather silly example that sets a baseline. Consider a simple function called parrot that takes an argument and returns the argument.