Skip to content
EntityQ1144925· pop 19· linked from 113 articles

Also known as schoenfinkeling, schönfinkelisation, schönfinkelization

In mathematics and computer science, currying is the technique of translating a function that takes multiple arguments into a sequence of families of functions, each taking a single argument.

~21 min read

Article

15 sections
Contents
  • Motivation
  • History
  • Definition
  • Set theory
  • Function spaces
  • Algebraic topology
  • Domain theory
  • Lambda calculi
  • Type theory
  • Logic
  • Category theory
  • Contrast with partial function application
  • See also
  • References
  • External links

In mathematics and computer science, currying is the technique of translating a function that takes multiple arguments into a sequence of families of functions, each taking a single argument.

In the prototypical example, one begins with a function f:(X\times Y)\to Z that takes two arguments, one from X and one from Y, and produces objects in Z. The curried form of this function treats the first argument as a parameter, so as to create a family of functions f_x :Y\to Z. The family is arranged so that for each object x in X, there is exactly one function f_x, such that for any y in Y, f_x(y) = f(x,y).

Connections

Categories