Re: [Scheme-reports] 4.2.7. Exception Handling Andy Wingo (18 May 2011 14:29 UTC)
Re: [Scheme-reports] 4.2.7. Exception Handling Alaric Snell-Pym (18 May 2011 14:40 UTC)
Re: [Scheme-reports] 4.2.7. Exception Handling Andy Wingo (18 May 2011 15:15 UTC)
Re: [Scheme-reports] 4.2.7. Exception Handling Jim Rees (18 May 2011 16:22 UTC)
Re: [Scheme-reports] 4.2.7. Exception Handling Jim Rees (18 May 2011 16:58 UTC)
Re: [Scheme-reports] 4.2.7. Exception Handling Andy Wingo (18 May 2011 17:35 UTC)
Re: [Scheme-reports] 4.2.7. Exception Handling John Cowan (18 May 2011 19:04 UTC)
Re: [Scheme-reports] 4.2.7. Exception Handling John Cowan (18 May 2011 19:03 UTC)
Re: [Scheme-reports] 4.2.7. Exception Handling Andy Wingo (20 May 2011 10:46 UTC)
Re: [Scheme-reports] 4.2.7. Exception Handling Aaron W. Hsu (20 May 2011 17:02 UTC)
Re: [Scheme-reports] 4.2.7. Exception Handling Andy Wingo (20 May 2011 17:17 UTC)

Re: [Scheme-reports] 4.2.7. Exception Handling Alaric Snell-Pym 18 May 2011 14:39 UTC

On 05/18/11 15:28, Andy Wingo wrote:

> Are you sure? :-)  The spec notes:
>
>   "That implicit `cond' expression is evaluated with the continuation
>   and dynamic extent of the `guard' expression"
>
> and
>
>   "The final expression in a <cond> clause is in a tail context if the
>   `guard' expression itself is."

Hrm, OK, it looks like that evolved a bit from my original simplistic
proposal! I'll take a look at the wording there and make sure it's as
intended, when I get a moment.

In which case, the re-raise if no clause matches would rely on having
preserved the original dynamic state by keeping a copy of the
continuation of RAISE around. Or, rather, a continuation captured just
within RAISE before the handler is invoked that, if it actually
continues, causes the re-raise - having re-wound the dynamic state...

> Andy

ABS

--
Alaric Snell-Pym
http://www.snell-pym.org.uk/alaric/

_______________________________________________
Scheme-reports mailing list
Scheme-reports@scheme-reports.org
http://lists.scheme-reports.org/cgi-bin/mailman/listinfo/scheme-reports