[plt-scheme] call-with-exception-handler inside with-handlers
Marco Maggi
marco.maggi-ipsu at poste.it
Fri Dec 21 15:29:15 EST 2007
Ciao,
why the form:
(with-handlers (((lambda (o)
#t) (lambda (exn)
(list 'out exn))))
(call-with-exception-handler
(lambda (exn)
(list 'error exn))
(lambda ()
(raise 123))))
gives me an uncaught exception "(error 123)" rather than
simply returning the value "(out 123)"? If the explanation
involves continuations, continuation marks or prompts: just
tell me to forget it (I don't wanna know :-).
TIA
--
Marco Maggi
"Now feel the funk blast!"
Rage Against the Machine - "Calm like a bomb"
More information about the plt-scheme
mailing list