This is the mail archive of the
kawa@sourceware.org
mailing list for the Kawa project.
guard in r7rs library
- From: Seth Alves <alves at hungry dot com>
- To: kawa at sourceware dot org
- Date: Mon, 24 Nov 2014 19:17:23 -0800
- Subject: guard in r7rs library
- Authentication-results: sourceware.org; auth=none
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)