|
|
|
|
|
by CrossEye
4376 days ago
|
|
Yes, freely admitted. (Author here.) I feel that although the distinction can be very important, it's much less so for Javascript. And the implementation in Ramda can be used that way any time you choose: var total = reduce(add)(0); // or
var sum = reduce(add)(0)(numbers)
works just as well in Ramda as var total = reduce(add, 0); // or
var sum = reduce(add, 0, numbers)
So, as I said, feel free to keep on insisting. :-) |
|
Start at 26mins. You don't have flip. You lose control over partial application. It isn't curry. You're right. It is an important distinction :)