[r6rs-discuss] [Formal] Recursive exception handling considered harmful

From: Michael Sperber <sperber>
Date: Thu Mar 15 09:26:17 2007

John Cowan <cowan_at_ccil.org> writes:

> 1) To decline to handle a condition and propagate it up to the next
> enclosing handler, a condition handler simply returns the condition
> that is to be propagated to the next enclosing handler. Only a constant
> amount of stack space, then, will delimit the handler and the signaler,
> regardless of how many handlers there are. No debugger traces will be
> cluttered by unnecessary frames caused by recursive signaling, except in
> the case where a procedure called by a raises a genuinely new exception.

I'm trying to understand the technicalities: Would returning a value
other than a condition from a handler be prohibited?

-- 
Cheers =8-} Mike
Friede, V?lkerverst?ndigung und ?berhaupt blabla
Received on Thu Mar 15 2007 - 09:26:10 UTC

This archive was generated by hypermail 2.3.0 : Wed Oct 23 2024 - 09:15:01 UTC