On Fri 20 May 2011 19:00, "Aaron W. Hsu" <[email protected]> writes:
> On Fri, 20 May 2011 05:12:34 -0400, Andy Wingo <[email protected]> wrote: > >> Here is an implementation of `guard' which does evaluate the predicates >> in the raise handler, the bodies with the continuation of the `guard', >> and re-raises from within `raise', but without rewinding. > > If you do not re-establish the continuation of the raise, then you affect > the intended behavior of the enclosing exception handlers. Consider the > following: I didn't re-establish the continuation because I never left it until a test succeeded. Did you notice the double parentheses around the call/cc ? Andy -- http://wingolog.org/ _______________________________________________ Scheme-reports mailing list [email protected] http://lists.scheme-reports.org/cgi-bin/mailman/listinfo/scheme-reports
