2 ms·
> You can not use partial application with that. You can: const add3 = add.bind(null, 3)
by masklinn 9y ago
> You can not use partial application with that.
You can:
const add3 = add.bind(null, 3)
- a-saleh 9y agoI still like currying better, but I just might be weird like that :-)
- masklinn 9y agoI only asserted that you could partially apply regular functions. But I don't think currying looks or feels nice in Javascript. Proper curried languages are definitely better suited for partial application though.