[Larceny-users] ERR5RS Error Conditions

Ray Racine ray.racine at comcast.net
Tue Feb 19 00:10:33 EST 2008


What is the ERR5RS behavior of the following code snippet?  
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
Entering debugger; type "?" for help.
debug> #<EOF>

> 






More information about the Larceny-users mailing list