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

Re: [Scheme-reports] 4.2.7. Exception Handling

On Wed 18 May 2011 16:39, Alaric Snell-Pym <alaric@x> writes:

> 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...

That is crazy :)  We're not talking just about parameters; there are
dynamic-wind guards, etc to think about, and rewinding those does not
sound like something that you want to do as part of your error-handling

Could this not be a bug in the SRFI-34 spec?



Scheme-reports mailing list