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

Kevin Smith khs4473 at
Wed Jan 2 11:38:15 PST 2013

> Here I part company only on syntax:
>     r = o?.p.q       {p?: {q: r}} = o

Interpreted this way, any additional irrefutable markers in a subtree under
a refutable 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?

{ Kevin }
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the es-discuss mailing list