A different semantics for WeakMap#get default value

Axel Rauschmayer axel at rauschma.de
Wed Jan 18 23:12:36 PST 2012

On Jan 19, 2012, at 7:51 , Mark S. Miller wrote:

> Everyone on this thread, is there any need expressed in this thread that is not satisfied by InfiniteMap?

Very good solution: It solves a use case that is not *that* common via an extra type (and uses delegation, to boot). Hence, a nice separation of concerns. This would solve all of the use cases that I have had so far.

==> Typo: defaulValue

Dr. Axel Rauschmayer
axel at rauschma.de

home: rauschma.de
twitter: twitter.com/rauschma
blog: 2ality.com

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.mozilla.org/pipermail/es-discuss/attachments/20120119/98aca78a/attachment-0001.html>

More information about the es-discuss mailing list