fail-fast object destructuring (don't add more slop to sloppy mode)

Kevin Smith khs4473 at gmail.com
Wed Jan 2 11:42:39 PST 2013


> Interpreted this way, any additional irrefutable markers in a subtree
> under a refutable identifier become redundant, correct?
>

Er, meant this:

Interpreted this way, any additional irrefutable markers in a subtree under
an _irrefutable_ identifier become redundant, correct?


>     r = o?.p?.q    { p?: { q?: r } } = o
>
> Using Nil, the "q" in all cases is "present" (evaluating to Nil), so the
> "?" in "q?" has no effect.  Is that right?
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.mozilla.org/pipermail/es-discuss/attachments/20130102/26b053dc/attachment.html>


More information about the es-discuss mailing list