This is the mail archive of the
kawa@sourceware.org
mailing list for the Kawa project.
Re: synchronized in r7rs library
- From: Per Bothner <per at bothner dot com>
- To: kawa at sourceware dot org
- Date: Sun, 28 Dec 2014 14:18:35 -0800
- Subject: Re: synchronized in r7rs library
- Authentication-results: sourceware.org; auth=none
- References: <54A07ACF dot 70402 at hungry dot com>
On 12/28/2014 01:49 PM, Seth Alves wrote:
Calling (synchronized ...) from inside an r7rs library fails.
-seth
$ ./kawa-r7rs-sync.scm
./kawa-r7rs-sync.scm:12:7: warning - no declaration seen for synchronized
Argument '#<macro synchronized>' to 'apply-to-args' has wrong type (kawa.lang.Macro) (expected: procedure)
Now we're getting into Kawa-specific extensions. These should not be
visible if you do (only): (import (scheme base))
Perhaps we should define a (kawa all) library? A (kawa jvm) library?
--
--Per Bothner
per@bothner.com http://per.bothner.com/