[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Scheme-reports] 4.2.7. Exception Handling

On Fri 20 May 2011 19:00, "Aaron W. Hsu" <arcfide@x> writes:

> On Fri, 20 May 2011 05:12:34 -0400, Andy Wingo <wingo@x> 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 ?


Scheme-reports mailing list