A function that takes another function as an argument or returns a function is called a higher-order function. For example, the sumApplied() function as defined below is a higher-order function. def sumApplied(x:Int, y:Int, f:Int => Int):Int = f(x) + f(y)