mattbierner / khepri

ECMAScript derived programming language
http://khepri-lang.com/
MIT License
67 stars 3 forks source link

Better Operator Curry Syntax #69

Closed mattbierner closed 10 years ago

mattbierner commented 10 years ago

The old V0.8 curry syntax was a lot better for currying operators:

// V0.8
(+, 1 + 2);

// V0.16
(+)@(1 + 2);

For operator currying only, I think the old syntax should be optional. This would prevent a future change of converting operators to functions without parens, but I don't see that change being worthwhile.