| From: Dimitris Vyzovitis (vyzo at media.mit.edu) Date: Sat Jun 16 15:29:51 EDT 2007 |
|
Is this correct behavior?
(define (foo)
(call-with-composable-continuation
(lambda (k)
(abort-current-continuation
(default-continuation-prompt-tag)
k))))
> (begin (foo) (printf "I fooed!~n"))
> ((lambda () (foo) (printf "I lambda-fooed!~n")))
I lambda-fooed!
It seems that the continuation is lost in begin, but not in the
application.
-- vyzo
| Posted on the users mailing list. |
|