> es-discuss mailing list
> es-discuss@mozilla.org
> https://mail.mozilla.org/listinfo/es-discuss
>
>
-
Mariusz Nowak
https://github.com/medikoo
--
View this message in context:
http://old.nabble.com/Add-intersections-and-unions-to-Set-tp35134737p35243
On Mon, Mar 4, 2013 at 10:56 AM, Tab Atkins Jr. wrote:
> On Mon, Mar 4, 2013 at 10:08 AM, wrote:
>> It would be useful to be able to form the intersection and the union of
>> two Sets. These are natural operations that are currently not part of
>> the API
>> (http://wiki.ecmascript.org/doku.php?
On Tue, Mar 5, 2013 at 8:53 AM, Jason Orendorff
wrote:
> On Tue, Mar 5, 2013 at 8:15 AM, David Bruant wrote:
>> I agree on the need but forsee problems with parametrized equivalence
>> operator [1][2] like "which comparator should be used for the union of 2
>> sets with different comparators?"
>
On Tue, Mar 5, 2013 at 8:15 AM, David Bruant wrote:
> I agree on the need but forsee problems with parametrized equivalence
> operator [1][2] like "which comparator should be used for the union of 2
> sets with different comparators?"
>
I vote TypeError. If I really do intend to mix two incompat
I agree on the need but forsee problems with parametrized equivalence
operator [1][2] like "which comparator should be used for the union of 2
sets with different comparators?"
The need for set intersection/union/minus/etc. feels more important than
the need to parametrized the comparator.
D
Le 4 mars 2013 à 23:37, Claude Pache a écrit :
> The Set constructor accepts an iterable (including an Array and a Set) as an
> argument to populate the newly-constructed Set with several values. There
> should also be the possibility to add or remove multiple elements of an
> already-constr
The Set constructor accepts an iterable (including an Array and a Set) as an
argument to populate the newly-constructed Set with several values. There
should also be the possibility to add or remove multiple elements of an
already-constructed Set. That covers unions and differences, but it is mo
On Mon, Mar 4, 2013 at 10:08 AM, wrote:
> It would be useful to be able to form the intersection and the union of
> two Sets. These are natural operations that are currently not part of
> the API
> (http://wiki.ecmascript.org/doku.php?id=harmony:simple_maps_and_sets).
>
> Similar methods would ma
It would be useful to be able to form the intersection and the union of
two Sets. These are natural operations that are currently not part of
the API
(http://wiki.ecmascript.org/doku.php?id=harmony:simple_maps_and_sets).
Similar methods would make sense for Map, but one would have to think
about
9 matches
Mail list logo