[nem-pl] Re: [nem-bug] [Nemerle 0000188]: try-in-unless syntax
"Paweł W. Olszta"
pawel.olszta at adv.pl
Tue Jul 6 12:55:15 CEST 2004
feedback at nemerle.org wrote:
> try {
> def f = open_file ();
> } catch {
> | nothing => ...
> | _ : Io => ...
> }
What about:
def f = try { open_file () } catch { _ : Io => ... }
This is so perlish:
$f = open_file () || die
;)
--
"Any sufficiently complicated C or Fortran program contains
an ad hoc informally-specified bug-ridden slow implementation
of half of Common Lisp." -- Philip Greenspun
More information about the devel-pl
mailing list