From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 2917 invoked by alias); 28 Dec 2014 22:18:54 -0000 Mailing-List: contact kawa-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: kawa-owner@sourceware.org Received: (qmail 2906 invoked by uid 89); 28 Dec 2014 22:18:53 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-2.2 required=5.0 tests=AWL,BAYES_00,SPF_PASS autolearn=ham version=3.3.2 X-HELO: aibo.runbox.com Received: from aibo.runbox.com (HELO aibo.runbox.com) (91.220.196.211) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES256-SHA encrypted) ESMTPS; Sun, 28 Dec 2014 22:18:52 +0000 Received: from [10.9.9.209] (helo=mailfront04.runbox.com) by bars.runbox.com with esmtp (Exim 4.71) (envelope-from ) id 1Y5MAi-0007HX-Qi for kawa@sourceware.org; Sun, 28 Dec 2014 23:18:48 +0100 Received: from 76-9-81-87-rt-broadband-01.broadband.oakhurst.sti.net ([76.9.81.87] helo=toshie.bothner.com) by mailfront04.runbox.com with esmtpsa (uid:757155 ) (TLS1.0:DHE_RSA_AES_128_CBC_SHA1:16) (Exim 4.76) id 1Y5MAa-0001t7-EK for kawa@sourceware.org; Sun, 28 Dec 2014 23:18:40 +0100 Message-ID: <54A081BB.8090103@bothner.com> Date: Sun, 28 Dec 2014 22:18:00 -0000 From: Per Bothner User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.3.0 MIME-Version: 1.0 To: kawa@sourceware.org Subject: Re: synchronized in r7rs library References: <54A07ACF.70402@hungry.com> In-Reply-To: <54A07ACF.70402@hungry.com> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit X-IsSubscribed: yes X-SW-Source: 2014-q4/txt/msg00165.txt.bz2 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 '#' 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/