From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 125112 invoked by alias); 24 Jan 2019 18:52:41 -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 125078 invoked by uid 89); 24 Jan 2019 18:52:41 -0000 Authentication-Results: sourceware.org; auth=none X-Spam-SWARE-Status: No, score=-2.6 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_LOW,SPF_PASS autolearn=ham version=3.3.2 spammy= 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 ESMTP; Thu, 24 Jan 2019 18:52:39 +0000 Received: from [10.9.9.211] (helo=mailfront11.runbox.com) by mailtransmit03.runbox with esmtp (Exim 4.86_2) (envelope-from ) id 1gmk79-0003Ga-BV; Thu, 24 Jan 2019 19:52:35 +0100 Received: by mailfront11.runbox.com with esmtpsa (uid:757155 ) (TLS1.2:RSA_AES_128_CBC_SHA1:128) (Exim 4.82) id 1gmk75-0006AL-81; Thu, 24 Jan 2019 19:52:31 +0100 Subject: Re: R7RS-large aliases for srfis To: craven@gmx.net, kawa mailing list References: <87ef99rvik.fsf@nexoid.at> From: Per Bothner Message-ID: Date: Thu, 24 Jan 2019 18:52:00 -0000 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.4.0 MIME-Version: 1.0 In-Reply-To: <87ef99rvik.fsf@nexoid.at> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-IsSubscribed: yes X-SW-Source: 2019-q1/txt/msg00024.txt.bz2 On 1/18/19 10:50 PM, craven@gmx.net wrote: > Would it be possible to add the r7rs-large aliases for existing srfis? > For example, srfi-1 should also be loadable as (import (scheme list)). > If there is no existing mechanism in kawa for aliases, something like > the following would suffice: > > (define-library (scheme list) > (import (srfi :1)) > (export xcons ...) ;; just re-export all identifiers > ) > > chibi does exactly that ;) > > Would be great to help with writing portable(r) code. It seems a bit premature, since the contents of r7rs-large is still being decided and debated. -- --Per Bothner per@bothner.com http://per.bothner.com/