Re:What is the advantage of currying?
by virmundi on Saturday February 02, 2013 @03:05PM
(#5157129)
I've been reviewing OO patterns for my class. I've also studied Scala a bit in the last year. One thing currying seems to look like is a builder pattern for functional programming. I can start with a function that requires N number of different arguments. I can use currying to accumulate specific setting for the function over time. Eventually when I get everything actually required for the function, I can invoke it.
[ Parent
| on HN ]
There are no comments on this comment yet.