4 ms·
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
by bpicolo 11y ago
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)
- Zalastax 11y agoI 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.
- bpicolo 11y agoAhh, I see what you meant. That should work with a correct currying implementation for sure