srfi-18とsrfi-34のraise

(call/cc
 (lambda (k)
   (with-exception-handler (lambda (x)
                             (print "condition: ")
                             (print x)
                             (k 'exception))
     (lambda ()
       (with-exception-handler (lambda (x) (raise (list 'foo x)))
         (lambda () (raise 'bar)))))))

srfi-18のraiseだと無限ループして,srfi-34のraiseだと外のハンドラが呼ばれて

condition: 
(foo bar)

とかなんとか出力される,ということでいいのかな.
試しにGaucheでやってみたらSegmentation faultした.


あと,ハンドラの(デフォルトの)継続は未規定,ってことでいいのかな.Gaucheだとraiseから返ってくるけど.