Refutable destructuring

Kevin Smith zenparsing at gmail.com
Fri Aug 16 11:26:05 PDT 2013


>
>
> And for the strict match one could introduce match(...) function which
> already would throw providing exactly matching procedure first, and then
> destructuring as a consequence.
>

Do you not think that it would be awkward to have the exact same pattern
syntax for these two cases (matching and destructuring), but with different
semantics?

{ Kevin }
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.mozilla.org/pipermail/es-discuss/attachments/20130816/61471a7b/attachment.html>


More information about the es-discuss mailing list