3 ms·
I don't think any of these examples of "currying" are actually examples of currying.
by bastawhiz 9y ago
I don't think any of these examples of "currying" are actually examples of currying.
- grzm 9y agoWould you elaborate why you think so?
- bastawhiz 9y agoYou should be able to curry any arbitrary function with an arbitrary number of arguments. Providing a value for the last argument should return the evaluated result of the curried function. If you're not using a JavaScript function's `.length` property to do currying, it's by definition not currying.
- deleted 9y ago[deleted]