Currying

Noun · Development

Definitions

  1. The technique of transforming a function that takes multiple arguments into a sequence of functions that each take a single argument. Named after mathematician Haskell Curry. In Haskell, all functions are curried by default.

    In plain English: Breaking a function that needs several inputs into a chain of functions that each take one input at a time, like an assembly line where each worker adds one part.

Related Terms