reading EBNF for 2 and 3, and realizing that catch takes plain expr:
'try' Expr ['catch' Expr] ['finally' Expr]

so the whole `{ case e => ... }` is just a social convention that's passing partial function, and the compiler would happily take any total func. `catch` might as well be a method

· · Web · 2  · 4  · 10