Higher Order Functions

  • a function that takes a functions as an argument

  • a function that returns a function

Currying

  • used for transforming a function that takes multiple arguments into a chain of functions that each take a single argument

  • useful when dealing with functions that take only single-argument functions

Last updated