From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 52780 invoked by alias); 13 Jul 2015 00:16:24 -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 52770 invoked by uid 89); 13 Jul 2015 00:16:24 -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,RCVD_IN_DNSWL_LOW,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; Mon, 13 Jul 2015 00:16:23 +0000 Received: from [10.9.9.207] (helo=mailfront03.runbox.com) by bars.runbox.com with esmtp (Exim 4.71) (envelope-from ) id 1ZERPw-0005bV-Iq; Mon, 13 Jul 2015 02:16:20 +0200 Received: from 70-36-239-58.dsl.dynamic.fusionbroadband.com ([70.36.239.58] helo=toshie.bothner.com) by mailfront03.runbox.com with esmtpsa (uid:757155 ) (TLS1.0:DHE_RSA_AES_128_CBC_SHA1:16) (Exim 4.76) id 1ZERPu-00037M-Ao; Mon, 13 Jul 2015 02:16:18 +0200 Subject: Re: Using Kawa extensions in R7RS libraries To: =?UTF-8?Q?El=c3=adas_Alonso_G.-Cornejo?= References: <54DCE968.7000800@bothner.com> <54E2DE69.2060708@bothner.com> <851CA162-87C3-4161-BD7D-338E6AC34FEC@theptrgroup.com> <552B70EC.8040608@bothner.com> <559958AE.2060101@bothner.com> Cc: kawa mailing list From: Per Bothner Message-ID: <55A3034D.8050400@bothner.com> Date: Mon, 13 Jul 2015 00:16:00 -0000 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.0.1 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit X-IsSubscribed: yes X-SW-Source: 2015-q3/txt/msg00011.txt.bz2 On 07/06/2015 12:29 AM, Elías Alonso G.-Cornejo wrote: > The patch works correctly but raises another issue: (future ...) and > (runnable ...) are not included in (kawa base). 'runnable' appears to have been in (kawa base). I also added 'future' and 'sleep.' I don't know if they > should be included, but if I require kawa/lib/thread.scm with (import > thread), any attempt to call (future ...) will show the following > message: > > warning - no declaration seen for lambda > > And fail. I fixed it by adding (import (scheme base)) at the top of > kawa/lib/thread.scm but I'm not sure if that's the best way to do it. Yes, that is the correct idea, though I used prim_imports instead. -- --Per Bothner per@bothner.com http://per.bothner.com/