[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Scheme-reports] 6.5 exceptions
- To: scheme-reports <scheme-reports@x>
- Subject: [Scheme-reports] 6.5 exceptions
- From: Andy Wingo <wingo@x>
- Date: Thu, 19 May 2011 21:48:54 +0200
I really like this section. Clean, powerful, limpid, compatible: it is
what Scheme deserves.
I retain doubts however regarding the rewind behavior of `guard'.
Though I can see why you would want to do it, rewinding is not something
that I want to happen while I'm handling errors. Better to have `guard'
procedures run the predicates in the dynamic extent of the `raise', and
then jump down to the body to handle it, if the predicates returned a
true value.
Andy
--
http://wingolog.org/
_______________________________________________
Scheme-reports mailing list
Scheme-reports@x
http://lists.scheme-reports.org/cgi-bin/mailman/listinfo/scheme-reports