Re:Emerging Best Practices in Swift
by bdash on Wednesday November 18, 2015 @01:54AM
(#10586378)
Currying refers to the process of taking a function that accepts multiple arguments, and turning it into a sequence of functions, each accepting a single argument. The example you provide would be more aptly described as partial application, which is the process of fixing a number of arguments to a function, producing a function of smaller arity.
[ Parent
| on HN ]
There are no comments on this comment yet.