[plt-scheme] handle-evt can wrap handle-evt

From: Dimitris Vyzovitis (vyzo at media.mit.edu)
Date: Wed Feb 21 22:31:43 EST 2007

On Wed, 21 Feb 2007, Robby Findler wrote:

> > The point is to disallow (handle-evt (handle-evt ...) ...)
> > That's what Matthew meant (I think :) and I don't see any error to it.
>
> Matthew's "error" is only that he says that the above should be an
> error in Scheme! :)
>
> I'm saying that it should not be an error. I think it is useful and
> should not be disallowed.

If it is allowed how is it different from (handle-evt (wrap-evt ...) ...)?
I think that the intent is 'handle-evt proc is a handler that is in tail
context wrt sync'. This cannot be guaranteed when handle-evts can be nested.

-- vyzo



Posted on the users mailing list.