Benjamin (Inglor) Gruenbaum wrote:
Brendan, the reason I find generators related is that most of the time
I want to distinguish I/O exceptions (which I want to handle closely)
from things like SyntaxError and ReferenceError (which I usually don't
want to handle at the same granularity). I think the language should
help me do that.
Thanks for clarifying.
Refutable pattern matching for ES7 must include catch patterns. We're
still working on it. Suggest starting a fresh thread on the proposal:
http://wiki.ecmascript.org/doku.php?id=strawman:pattern_matching
/be
_______________________________________________
es-discuss mailing list
[email protected]
https://mail.mozilla.org/listinfo/es-discuss