On Mar 26, 2013, at 12:18 PM, Mark S. Miller wrote:

> WeakSet may or may not happen by ES6. But even if it doesn't, WeakSet is 
> trivially shimmable on WeakMap.

Which is why it isn't the in the spec. yet.  It was introduced in support of 
Proxy private Symbol white list, but it is still unclear whether we will have 
them and even if we do, it's not clear that the actual internal whitelist needs 
to be exposed as a WeakSet.







> 
> WeakRef will definitely not happen earlier than ES7. I do hope it will happen 
> in ES7, but this discussion has yet to happen.
> 
> 
> On Tue, Mar 26, 2013 at 4:30 PM, Sam Tobin-Hochstadt <sa...@ccs.neu.edu> 
> wrote:
> On Tue, Mar 26, 2013 at 12:28 PM, Rick Waldron <waldron.r...@gmail.com> wrote:
> >
> >
> >
> > On Tue, Mar 26, 2013 at 12:23 PM, Domenic Denicola
> > <dome...@domenicdenicola.com> wrote:
> >>
> >> From: Rick Waldron [waldron.r...@gmail.com]
> >>
> >> > TC39 reached consensus on the inclusion of WeakSet, though it needs to
> >> > be designed:
> >> >
> >> > https://github.com/rwldrn/tc39-notes/blob/master/es6/2012-09/sept-19.md#weakset
> >>
> >> Is this ES6 timeframe, or ES7? I have run into a few use cases for it
> >> since hearing this, and was hoping it was on-track.
> >
> >
> > The discussion immediately preceding that discussion indicates that WeakSet
> > will be a requirement of Proxy:
> >
> > https://github.com/rwldrn/tc39-notes/blob/master/es6/2012-09/sept-19.md#proxy-and-private-names
> 
> Note that this requirement is conditional on a particular approach
> (which I still favor) to the interaction between proxies and private
> names, and so since that's still up in the air, the WeakSet
> requirement for ES6 may go away.
> 
> Sam
> _______________________________________________
> es-discuss mailing list
> es-discuss@mozilla.org
> https://mail.mozilla.org/listinfo/es-discuss
> 
> 
> 
> -- 
>     Cheers,
>     --MarkM
> _______________________________________________
> es-discuss mailing list
> es-discuss@mozilla.org
> https://mail.mozilla.org/listinfo/es-discuss

_______________________________________________
es-discuss mailing list
es-discuss@mozilla.org
https://mail.mozilla.org/listinfo/es-discuss

Reply via email to