Fenzland

Results 8 comments of Fenzland

why not just use negative number `arr[-1]`, `^n` may be used as a new unary operator like `~n` some day.

That's hitting the real pain point. Binding a method from third part library can be substituted by `|>`. What we really need is to bind methods from prototype of the...

> If I understand correctly, you are proposing: > > * Replace current `::foo.method` with `foo::method` > * Replace current `::foo[bar]` with `foo::[bar]` > * Replace current `foo::bar` with `foo::{bar}`...

@hax Thank you for your patience. I've not got knowledge about the discussion history indeed. But only talk about the result syntax. * we already put identifiers after `.`, now...

On the other hand, I don't think the virtual method is so important use case, it can be totally substituted by pipeline operator. ```javascript function doubleEach() { return this.map( x=>...

@hax Thank you for considering my suggestions. I'm happy to make helps. --- > So I actually agree we should limit foo::bar only apply to identifier, so foo::a.b simply mean...

> for example the most important one: `this` parameter (OO) VS. curried last parameter (mainstream FP pipeline) VS. first parameter (elixir-style pipeline). Not only JavaScript can become more functional, FP...

With node 8.4.0 failed too. ``` gyp WARN install got an error, rolling back install gyp ERR! configure error gyp ERR! stack Error: read ECONNRESET gyp ERR! stack at _errnoException...