# currying

Pronunciation: US say "KUR-ee-ing" /ˈkɝɹi.ɪŋ/; UK say "KU-ree-ing" /ˈkʌɹi.ɪŋ/

## Verb

1. Present participle and gerund of curry. — present participle and gerund of curry
   - Simple: Present participle and gerund of curry. Use this form for an action happening now or for the activity itself.
   - _He spent the afternoon currying favor with the new manager._
   - _The stable hands were currying the horses before the show began._

## Noun

2. A technique that turns a function taking several arguments into a series of functions, each taking just one argument.
   - Simple: A way of turning a function that needs several inputs into a chain of functions that each take just one.
   - _Currying transforms a two-argument addition function into two nested single-argument functions._
   - _Functional languages like Haskell rely on currying by default._

## Origin

The term is named after the American mathematician Haskell Curry.

Source: DictionaryAI, https://dictionaryai.com/define/currying (written from Wiktionary data, CC BY-SA 4.0: https://creativecommons.org/licenses/by-sa/4.0/).
