Currying

» Glossary » Currying
Currying is a technique by which a function that takes multiple arguments is transformed into a sequence of functions with only 1 argument.

  • Uncurried function: f( a, b, c )
  • Curried function: f( a )( b )( c )

Currying is related to partial application and is useful to delay computation.