This is the mail archive of the kawa@sourceware.org mailing list for the Kawa project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

guard in r7rs library



Using guard inside an r7rs library seems to trigger a problem.

exceptions.scm:43:12: unbound location: save
    at gnu.mapping.SharedLocation.get(SharedLocation.java:22)
    at gnu.mapping.DynamicLocation.get(DynamicLocation.java:28)


(define-library (testlib)
  (export run-tests)
  (import (scheme base))
  (begin
    (define (run-tests)
      (guard
       (exn (#t #t))
       5))))

(import (scheme base)
        (scheme write)
        (testlib))
(display (run-tests))
(newline)



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]