mirror of
https://github.com/rjNemo/functional-programming-jargon
synced 2026-06-06 02:26:43 +00:00
Fixes #145
This commit is contained in:
parent
1ec74df32a
commit
841ed85f81
1 changed files with 1 additions and 1 deletions
|
|
@ -145,7 +145,7 @@ add2(10) // 12
|
|||
## Auto Currying
|
||||
Transforming a function that takes multiple arguments into one that if given less than its correct number of arguments returns a function that takes the rest. When the function gets the correct number of arguments it is then evaluated.
|
||||
|
||||
Underscore, lodash, and ramda have a `curry` function that works this way.
|
||||
lodash & ramda have a `curry` function that works this way.
|
||||
|
||||
```js
|
||||
const add = (x, y) => x + y
|
||||
|
|
|
|||
Loading…
Reference in a new issue