>
> Sure, but that's crying out for a shorter form that avoids repeating o.
> Note also that in the expression language, |o| might be a longer expression
> (even, gasp, with embedded effects) that you would not want to repeat.
>
I see. I think overloading the lone "?" is grammatically sketchy, though...
> Whatever we do for existential operators, destructuring in ES6 with
> refutable-by-default patterns wants something at all levels, including
> outermost -- or so I argue.
Maybe so. Again, overloading a lone "?" outside of the pattern itself
makes me feel itchy.
Retiring back to the thinking cave for now...
{ Kevin }
_______________________________________________
es-discuss mailing list
[email protected]
https://mail.mozilla.org/listinfo/es-discuss