3 ms·
What it ends up being for normal usage is something like this: add(1)(2) Which is admittedly a little bit clunky, though from a quick read I don't think the
by brundolf 6y ago
What it ends up being for normal usage is something like this:
add(1)(2)
Which is admittedly a little bit clunky, though from a quick read I don't think the library helps with this.
You might be interested in the "pipeline operator" proposal. In addition to pairing nicely with curried functions, it offers a certain amount of re-ordering.
- javajosh 6y agoYeah I think your quick read is off: add4(1)(3)(5)(10) add4(1)(3,5)(10) add4(1,3,5,10) // 19