Most of these could just be methods of iterators and then they could be used for different data structures seemlessly.
On Mon Jun 09 2014 at 3:19:20 AM, Calvin Metcalf <[email protected]> wrote: > Many of the Set specific methods would also be useful if they worked on > the keys of Maps. > On Jun 7, 2014 3:44 PM, "Hemanth H.M" <[email protected]> wrote: > >> Yup, a generic collection API. >> On Jun 7, 2014 7:10 PM, "Calvin Metcalf" <[email protected]> >> wrote: >> >>> If you would like to help write a library for them >>> >>> https://github.com/calvinmetcalf/set.up >>> >>> Another idea would be a generic collections API for maps, sets, arrays, >>> and other types of collections down the line like queues, trees, tries, etc >>> On Jun 7, 2014 3:13 PM, "Barronville, Jonathan" <[email protected]> >>> wrote: >>> >>>> Yes ... +++1. >>>> >>>> - Jonathan >>>> — >>>> Sent from Mailbox <https://www.dropbox.com/mailbox> >>>> >>>> >>>> On Sat, Jun 7, 2014 at 9:05 AM, Hemanth H.M <[email protected]> >>>> wrote: >>>> >>>>> Would it be useful to implement basic set operations as below? >>>>> >>>>> * merge >>>>> * subset? >>>>> * superset? >>>>> * union >>>>> * intersection >>>>> * complements >>>>> * difference >>>>> * cartesian >>>>> * copy >>>>> >>>>> So on? >>>>> >>>>> >>>>> -- >>>>> *'I am what I am because of who we all are'* >>>>> h3manth.com <http://www.h3manth.com> >>>>> *-- Hemanth HM * >>>>> >>>> >>>> >>>> _______________________________________________ >>>> es-discuss mailing list >>>> [email protected] >>>> https://mail.mozilla.org/listinfo/es-discuss >>>> >>>> _______________________________________________ > es-discuss mailing list > [email protected] > https://mail.mozilla.org/listinfo/es-discuss >
_______________________________________________ es-discuss mailing list [email protected] https://mail.mozilla.org/listinfo/es-discuss

