5 ms·
They discussed this, and decided: a) partially-applied operators fills some of the gap, and b) they're far too complicated to implement. https://github.com/gkz
by quarterto 14y ago
They discussed this, and decided: a) partially-applied operators fills some of the gap, and b) they're far too complicated to implement.
https://github.com/gkz/LiveScript/issues/19 https://github.com/gkz/LiveScript/issues/19
https://github.com/taku0/placeholder_syntax_for_coffeescript/blob/master/src/placeholder.coffee https://github.com/taku0/placeholder_syntax_for_coffeescript...
- riffraff 14y agoah, thanks, I missed partially applied operators. But then, it seems easy to do it with single method calls too, e.g. map (.length) x rather than map (call \length) x does not fit more complex usage, but it's a tiny improvement I'd think
- GeZe 14y agoThis is an interesting idea - I will look into it. It does not seem to conflict with the current syntax. Thanks for the suggestion!