On Oct 6, 2014 9:58 AM, Till Schneidereit t...@tillschneidereit.net
wrote:
On Mon, Oct 6, 2014 at 9:22 AM, Isiah Meadows impinb...@gmail.com
wrote:
Clearly, we still have a long way to go before beating a C++ parser.
Pretty interesting to think about, though.
This comparison, while quite
On Tue, Oct 7, 2014 at 1:48 AM, Dmitry Soshnikov
dmitry.soshni...@gmail.com wrote:
On Mon, Oct 6, 2014 at 8:19 PM, Rick Waldron waldron.r...@gmail.com wrote:
On Mon, Oct 6, 2014 at 10:59 PM, Dmitry Soshnikov
dmitry.soshni...@gmail.com wrote:
We're currently polyfilling `Array.from` in our
FYI: from a MooTools core developer:
https://gist.github.com/fakedarren/28953b01e455078fb4f8
Just to close this chapter/thread with some external outcome.
Regards
On Wed, Oct 1, 2014 at 7:56 AM, Andrea Giammarchi
andrea.giammar...@gmail.com wrote:
many MDN examples are on jsfiddle ...maybe
[1]:http://wiki.ecmascript.org/doku.php?id=strawman:bind_operator
Problem is :: vs. just dot, and now you have two problems. I'm actually
good with FP inside-out, could learn to love :: if we add it, but the main
objection IMHO is two-problems. OOP means just dot.
That reminds me:
Coming form other languages, double colons is used as a static thing,
although we don't need (?) this convention in ES6 classes, and I agree it
looks ugly anyway.
I wonder if here `:` would work instead, because I'd personally find any
other usage of the thin arrow `-` confusing *
Regards
* I
On Sat, Oct 4, 2014 at 10:03 PM, Dmitry Soshnikov
dmitry.soshni...@gmail.com wrote:
This case I'd probably make as `Map#mapWithKey`, however there other
questions arise like, should the returned pair replace the existing, or
create a new one, if the key is different?
```
({a =
* I personally see `-` as a shortcut for `function`
I'm a C sympathizer, so I don't see it the quite the same, but I
understand. Regardless of the token, I feel like a generalized ref_get/set
mechanism would be great.
___
es-discuss mailing list
On Tue, Oct 7, 2014 at 8:51 AM, Kevin Smith zenpars...@gmail.com wrote:
[1]:http://wiki.ecmascript.org/doku.php?id=strawman:bind_operator
Problem is :: vs. just dot, and now you have two problems. I'm actually
good with FP inside-out, could learn to love :: if we add it, but the main
My question is: If we have -, how much need would there still be for
:: or @? If - can subsume the practical need for either or both of
the others, that would be interesting.
That was the idea, but it's been a while since I went through that
exercise. I need to review.
On Tue, Oct 7, 2014 at 6:17 AM, C. Scott Ananian ecmascr...@cscott.net
wrote:
On Tue, Oct 7, 2014 at 1:48 AM, Dmitry Soshnikov
dmitry.soshni...@gmail.com wrote:
On Mon, Oct 6, 2014 at 8:19 PM, Rick Waldron waldron.r...@gmail.com
wrote:
On Mon, Oct 6, 2014 at 10:59 PM, Dmitry Soshnikov
On Mon, Oct 6, 2014 at 10:48 PM, Dmitry Soshnikov
dmitry.soshni...@gmail.com wrote:
On Mon, Oct 6, 2014 at 8:19 PM, Rick Waldron waldron.r...@gmail.com
wrote:
On Mon, Oct 6, 2014 at 10:59 PM, Dmitry Soshnikov
dmitry.soshni...@gmail.com wrote:
Hi,
We're currently polyfilling
From: es-discuss [mailto:es-discuss-boun...@mozilla.org] On Behalf Of Dmitry
Soshnikov
Am I still missing something?
Yes.
```js
var uint16s = new Uint16Array([258]);
var uint8s = Uint8Array.from(uint16s, x = x / 2);
console.log(uint8s); // [129]
```
```js
var uint16s = new
Le 7 oct. 2014 à 20:36, Dmitry Soshnikov dmitry.soshni...@gmail.com a écrit
:
And other things are better be written:
```
ArrayKind.from(iterable).map(mapfn)
```
Am I still missing something?
Yes: `UInt32Array.from(['a', 'b', 'c], x = x.codePointAt(0))`
—Claude
On Tue, Oct 7, 2014 at 11:46 AM, Domenic Denicola
dome...@domenicdenicola.com wrote:
From: es-discuss [mailto:es-discuss-boun...@mozilla.org] On Behalf Of
Dmitry Soshnikov
Am I still missing something?
Yes.
```js
var uint16s = new Uint16Array([258]);
var uint8s =
On Tue, Oct 7, 2014 at 11:56 AM, Claude Pache claude.pa...@gmail.com
wrote:
Le 7 oct. 2014 à 20:36, Dmitry Soshnikov dmitry.soshni...@gmail.com a
écrit :
And other things are better be written:
```
ArrayKind.from(iterable).map(mapfn)
```
Am I still missing something?
Yes:
On Tue, Oct 7, 2014 at 12:01 PM, Dmitry Soshnikov
dmitry.soshni...@gmail.com wrote:
On Tue, Oct 7, 2014 at 11:59 AM, Dmitry Soshnikov
dmitry.soshni...@gmail.com wrote:
On Tue, Oct 7, 2014 at 11:56 AM, Claude Pache claude.pa...@gmail.com
wrote:
Le 7 oct. 2014 à 20:36, Dmitry Soshnikov
On Tue, Oct 7, 2014 at 11:46 AM, Domenic Denicola
dome...@domenicdenicola.com wrote:
From: es-discuss [mailto:es-discuss-boun...@mozilla.org] On Behalf Of
Dmitry Soshnikov
Am I still missing something?
Yes.
```js
var uint16s = new Uint16Array([258]);
var uint8s =
On Tue, Oct 7, 2014 at 3:01 PM, Dmitry Soshnikov dmitry.soshni...@gmail.com
wrote:
On Tue, Oct 7, 2014 at 11:59 AM, Dmitry Soshnikov
dmitry.soshni...@gmail.com wrote:
On Tue, Oct 7, 2014 at 11:56 AM, Claude Pache claude.pa...@gmail.com
wrote:
Le 7 oct. 2014 à 20:36, Dmitry Soshnikov
On Tue, Oct 7, 2014 at 12:22 PM, Rick Waldron waldron.r...@gmail.com
wrote:
On Tue, Oct 7, 2014 at 3:01 PM, Dmitry Soshnikov
dmitry.soshni...@gmail.com wrote:
On Tue, Oct 7, 2014 at 11:59 AM, Dmitry Soshnikov
dmitry.soshni...@gmail.com wrote:
On Tue, Oct 7, 2014 at 11:56 AM, Claude
On Tue, Oct 7, 2014 at 12:25 PM, Dmitry Soshnikov
dmitry.soshni...@gmail.com wrote:
On Tue, Oct 7, 2014 at 12:22 PM, Rick Waldron waldron.r...@gmail.com
wrote:
On Tue, Oct 7, 2014 at 3:01 PM, Dmitry Soshnikov
dmitry.soshni...@gmail.com wrote:
On Tue, Oct 7, 2014 at 11:59 AM, Dmitry
On Tue, Oct 7, 2014 at 12:27 PM, Dmitry Soshnikov
dmitry.soshni...@gmail.com wrote:
On Tue, Oct 7, 2014 at 12:25 PM, Dmitry Soshnikov
dmitry.soshni...@gmail.com wrote:
On Tue, Oct 7, 2014 at 12:22 PM, Rick Waldron waldron.r...@gmail.com
wrote:
On Tue, Oct 7, 2014 at 3:01 PM, Dmitry
On Tue, Oct 7, 2014 at 12:32 PM, Dmitry Soshnikov
dmitry.soshni...@gmail.com wrote:
I mean, yeah, we can accept and live with this -- aka, yeah why not, it's
convenient in place to pre-map, and good for cases when an iterable doesn't
have the `map`, and it's good for performance. But all the
On Tue, Oct 7, 2014 at 12:50 PM, Tab Atkins Jr. jackalm...@gmail.com
wrote:
On Tue, Oct 7, 2014 at 12:32 PM, Dmitry Soshnikov
dmitry.soshni...@gmail.com wrote:
I mean, yeah, we can accept and live with this -- aka, yeah why not, it's
convenient in place to pre-map, and good for cases when
Le 7 oct. 2014 à 21:32, Dmitry Soshnikov dmitry.soshni...@gmail.com a écrit
:
But all the things from above stands: it's confusing since doesn't explain
whether it's pre- or post- map, and takes too much at implementation.
My previous example could have been written as:
Old sites with old version of Mootools will have problems when trying
to use native Array.prototype.contains. Is that the only problem or is
there something else I'm missing?
On 10/7/14, Andrea Giammarchi andrea.giammar...@gmail.com wrote:
FYI: from a MooTools core developer:
On Tue, Oct 7, 2014 at 1:20 PM, Claude Pache claude.pa...@gmail.com wrote:
Le 7 oct. 2014 à 21:32, Dmitry Soshnikov dmitry.soshni...@gmail.com a
écrit :
But all the things from above stands: it's confusing since doesn't
explain whether it's pre- or post- map, and takes too much at
I think all of the above examples are trying to create a case such as
| UInt32Array.from(nodelist, node = parseInt(node.value, 10) );
where neither can nodes be stored in an Uint32Array nor integers be
stored in a NodeList.
This might happen quite often, as `from` seems to be the type
On Tue, Oct 7, 2014 at 1:45 PM, Bergi a.d.be...@web.de wrote:
I think all of the above examples are trying to create a case such as
| UInt32Array.from(nodelist, node = parseInt(node.value, 10) );
where neither can nodes be stored in an Uint32Array nor integers be stored
in a NodeList.
Not
On Tue, Oct 7, 2014 at 2:11 PM, Dmitry Soshnikov
dmitry.soshni...@gmail.com wrote:
On Tue, Oct 7, 2014 at 1:45 PM, Bergi a.d.be...@web.de wrote:
I think all of the above examples are trying to create a case such as
| UInt32Array.from(nodelist, node = parseInt(node.value, 10) );
where
On Tue, Oct 7, 2014 at 2:20 PM, Tab Atkins Jr. jackalm...@gmail.com wrote:
On Tue, Oct 7, 2014 at 2:11 PM, Dmitry Soshnikov
dmitry.soshni...@gmail.com wrote:
On Tue, Oct 7, 2014 at 1:45 PM, Bergi a.d.be...@web.de wrote:
I think all of the above examples are trying to create a case such as
I got curious after reading the Array.prototype.contains thread.
I understand it means 'old things on the Web will break', but is there some
cutoff? Based on number sites or number of affected users?
Couldn't find a definition searching esdiscuss.org - apologies if it's been
discussed.
Cheers!
On Tue, Oct 7, 2014 at 2:27 PM, Adam Ahmed aah...@atlassian.com wrote:
I got curious after reading the Array.prototype.contains thread.
I understand it means 'old things on the Web will break', but is there some
cutoff? Based on number sites or number of affected users?
Couldn't find a
On Tue, Oct 7, 2014 at 2:26 PM, Dmitry Soshnikov
dmitry.soshni...@gmail.com wrote:
I see. Actually it doesn't work, your're correct, since
`Array.prototype.map` does preserve the kind (at least in the latest draft).
Hmm, per Rick's earlier email and
On Tue, Oct 7, 2014 at 2:35 PM, Tab Atkins Jr. jackalm...@gmail.com wrote:
On Tue, Oct 7, 2014 at 2:26 PM, Dmitry Soshnikov
dmitry.soshni...@gmail.com wrote:
I see. Actually it doesn't work, your're correct, since
`Array.prototype.map` does preserve the kind (at least in the latest
draft).
Thanks! 0.001% of what?
On 08/10/2014 8:33 AM, Tab Atkins Jr. jackalm...@gmail.com wrote:
On Tue, Oct 7, 2014 at 2:27 PM, Adam Ahmed aah...@atlassian.com wrote:
I got curious after reading the Array.prototype.contains thread.
I understand it means 'old things on the Web will break', but is
On Tue, Oct 7, 2014 at 3:01 PM, Adam Ahmed aah...@atlassian.com wrote:
Thanks! 0.001% of what?
Page views, more or less.
~TJ
___
es-discuss mailing list
es-discuss@mozilla.org
https://mail.mozilla.org/listinfo/es-discuss
Le 7 oct. 2014 à 23:43, Dmitry Soshnikov dmitry.soshni...@gmail.com a écrit
:
On Tue, Oct 7, 2014 at 2:35 PM, Tab Atkins Jr. jackalm...@gmail.com wrote:
On Tue, Oct 7, 2014 at 2:26 PM, Dmitry Soshnikov
dmitry.soshni...@gmail.com wrote:
I see. Actually it doesn't work, your're correct,
On Sat, Oct 4, 2014 at 10:03 PM, Dmitry Soshnikov
dmitry.soshni...@gmail.com wrote:
On Sat, Oct 4, 2014 at 5:58 PM, Domenic Denicola
dome...@domenicdenicola.com wrote:
From: es-discuss [mailto:es-discuss-boun...@mozilla.org] On Behalf Of
Domenic Denicola
Unless I'm missing something
38 matches
Mail list logo