[plt-scheme] 359.3
On Jan 5, 2007, at 6:35 PM, John Clements wrote:
> I agree that the way that exception handlers replace others in tail
> position is surprising.
>
> However, this solution seems to "have it all," in the sense that:
>
> - exception handlers can be chained, and
> - tail calls don't exhaust memory, even when an exception handler
> is placed in the tail-calling procedure, and
> - if you want the non-overwriting behavior, you can alpha-expand
> the thunk that is the second argument to call-with exception-handler.
Amen. (alpha -> eta)
-- Matthias