t-catch.scm 183 B

1234567891011
  1. ;; Test that nonlocal exits of the VM work.
  2. (begin
  3. (define (foo thunk)
  4. (catch #t thunk (lambda args args)))
  5. (foo
  6. (lambda ()
  7. (let ((a 'one))
  8. (1+ a)))))