Function partial applications and currying

Using higher-order functions, every n-ary function can be transformed into a composition of n-unary functions, that is, into a curried function, as we have seen in Chapter 2Functions and Closures, in the Function composition and Function currying sections.