Ciao,

  with CHICKEN 5.1.0, is the following correct:

      (import (scheme) (chicken base) (chicken condition))

      (call/cc
          (lambda (escape)
            (with-exception-handler
                (lambda (E)
                  (escape (list (get-condition-property E 'exn 'location)
                                (get-condition-property E 'exn 'message)
                                (get-condition-property E 'exn 'arguments))))
              (lambda ()
                (error 1 2 3)))))
      => '(#f 1 (2 3))

or should the "message" property be #f?

TIA
-- 
Marco Maggi

_______________________________________________
Chicken-users mailing list
Chicken-users@nongnu.org
https://lists.nongnu.org/mailman/listinfo/chicken-users

Reply via email to