Re:Currying in JavaScript
by bpicolo on Sunday July 19, 2015 @08:16PM
(#9913392)
Why did you think you needed it in the case where you had a function that didn't need parameters? That sort of relinquishes the point of currying. (Should just be passing the function itself)
[ Parent
| on HN ]
I had a function taking parameters and wanted a function without parameters. Using this style the function would be called immediately when all parameters are supplied, instead of in the callback as I intended.