DEV Community

Discussion on: Making Curry: JavaScript Functional Programming

Collapse
 
oculus42 profile image
Samuel Rouse

Thanks! Combining partial application and currying together like you did is an interesting approach! I like the use of the Symbol for missing arguments. Older libraries like Lo-dash have you pass the library itself as the "missing" value, e.g. _.partial(operation, _, 'two');, which was useful before we had tools like Symbol.