Ray Racine
2008-02-19 05:10:33 UTC
What is the ERR5RS behavior of the following code snippet?
ie, should I have expected to have caught the exception??
Entering debugger; type "?" for help.
debug> #<EOF>
ie, should I have expected to have caught the exception??
(import (rnrs))
(define die (lambda () (vector-ref '#(1 2) 3)))
(with-exception-handler (lambda (h) #t) (lambda () (die)))
Error: vector-ref: 3 is not a valid index into vector(define die (lambda () (vector-ref '#(1 2) 3)))
(with-exception-handler (lambda (h) #t) (lambda () (die)))
Entering debugger; type "?" for help.
debug> #<EOF>