From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Mike Gran Newsgroups: gmane.lisp.guile.devel Subject: Re: (define-module (foo) #:import (...)), a la r6rs Date: Thu, 28 Jul 2011 14:40:04 -0700 (PDT) Message-ID: <1311889204.72095.YahooMailNeo@web37908.mail.mud.yahoo.com> References: <87fwlqvgg9.fsf@pobox.com> Reply-To: Mike Gran NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: dough.gmane.org 1311889220 16394 80.91.229.12 (28 Jul 2011 21:40:20 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Thu, 28 Jul 2011 21:40:20 +0000 (UTC) To: guile-devel Original-X-From: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Thu Jul 28 23:40:16 2011 Return-path: Envelope-to: guile-devel@m.gmane.org Original-Received: from lists.gnu.org ([140.186.70.17]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1QmYJU-0001i6-35 for guile-devel@m.gmane.org; Thu, 28 Jul 2011 23:40:16 +0200 Original-Received: from localhost ([::1]:55002 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QmYJT-0002sc-MI for guile-devel@m.gmane.org; Thu, 28 Jul 2011 17:40:15 -0400 Original-Received: from eggs.gnu.org ([140.186.70.92]:53782) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QmYJQ-0002sJ-IA for guile-devel@gnu.org; Thu, 28 Jul 2011 17:40:13 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QmYJP-000593-6n for guile-devel@gnu.org; Thu, 28 Jul 2011 17:40:12 -0400 Original-Received: from nm11-vm0.bullet.mail.ac4.yahoo.com ([98.139.53.196]:36961) by eggs.gnu.org with smtp (Exim 4.71) (envelope-from ) id 1QmYJP-00057E-2V for guile-devel@gnu.org; Thu, 28 Jul 2011 17:40:11 -0400 Original-Received: from [98.139.52.191] by nm11.bullet.mail.ac4.yahoo.com with NNFMP; 28 Jul 2011 21:40:09 -0000 Original-Received: from [98.139.52.169] by tm4.bullet.mail.ac4.yahoo.com with NNFMP; 28 Jul 2011 21:40:09 -0000 Original-Received: from [127.0.0.1] by omp1052.mail.ac4.yahoo.com with NNFMP; 28 Jul 2011 21:40:09 -0000 X-Yahoo-Newman-Property: ymail-3 X-Yahoo-Newman-Id: 962356.28553.bm@omp1052.mail.ac4.yahoo.com Original-Received: (qmail 72525 invoked by uid 60001); 28 Jul 2011 21:40:04 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s1024; t=1311889204; bh=gJjliMZ6KervJYIqihJ+4f+w41VGx1o/4bp7jv93m+w=; h=X-YMail-OSG:Received:X-Mailer:References:Message-ID:Date:From:Reply-To:Subject:To:In-Reply-To:MIME-Version:Content-Type; b=msm5JYvjxiUEUKg/ajE4UvyoBOdiPYhoZlGL4cJQbQjwKa1SRPM+SnAi9pD00XYfjdFPRA7Rd9zyewTvVOYoq8spVMWvpic4KYtKYrJAyKv0n9XCMyvrgaH8HqrILUSXaDCIvlPeVC9SMnLoT4JivEiIYABMwBoErdBHBIQSKTg= DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=X-YMail-OSG:Received:X-Mailer:References:Message-ID:Date:From:Reply-To:Subject:To:In-Reply-To:MIME-Version:Content-Type; b=og/dzEdkTK7BwgfNFq3okc0VLuiUDP8YOyXx4HqIAYve4ZHq7P2cL25SwN/JO/XP9t5LPnpSrfKUFXqQkR3COwmP3m/CwiZ40fFaMAy4iQh2bFL01FW4xO5yvPzPpJGM1LXpgOCHvMQZaV7Ld36FkzHizL0Sxq+NqBmTklP8DB8=; X-YMail-OSG: Wks3o1UVM1mjgSf49p0VOgYcCOHpbxeXIJUqZX7ZAaeVx7L AbCVyqt8aBZVrlQbUkKZDx1U_OuAcXp7PKI1hFeFAf6UwERIkLlJuT7QbI0Q ULYMrFpwRLQ.RRCTT19a2x9LXrYnx6rsRHggyBnMWdZXmQecPToj2hFrYhvc 3ua0qnipvse3oumumDIJTTrmmFkjirYWpPpHBwGkaeldLNlhh.xqDpsI.Nn4 RmXC48vKAw7ANIA.H_dwvd8dQqYRB3mt.VQ83u8bHcJwOATvZqNIq2X5ICkp nsuyAf2IKndC0rRzR1ec8NtPpSHMzpNhCkNUORQaddYohqFKM.hoBoo7ytYh s5E.3URK3I8wM7ANrAL.bacbX3K2rCLfqof2aI7UEwPgxbYRxV9Bzj1aoecN 7jli_MX30sOIsu17TNxYVIsCZ88a713JZNd03_q.wFSjTs7WX6Zx0kQdMFCE IU0DxBa.ChEFcbVjHjJDJnqP9YVBF.HXuBEXHKFkGzWjuCPT_W70yaMiShb6 KC7LyIA-- Original-Received: from [71.130.210.127] by web37908.mail.mud.yahoo.com via HTTP; Thu, 28 Jul 2011 14:40:04 PDT X-Mailer: YahooMailWebService/0.8.112.310352 In-Reply-To: <87fwlqvgg9.fsf@pobox.com> X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 98.139.53.196 X-BeenThere: guile-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Developers list for Guile, the GNU extensibility library" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Original-Sender: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.lisp.guile.devel:12688 Archived-At: From: Andy Wingo wingo@pobox.com > >Hi, > >I was hacking on Dorodango today, in a script that happened to have a >Guile-style (define-module ...) block, and I was importing pieces of an >rnrs library. Then I needed to update the import set to provide what >was needed. In the middle of making a keyboard macro to add >#:use-module before the library names, I realized that `library' is >actually a lot better in this regard, in that you just have one `import' >block, and all the libraries are listed there without having a prefix on >each one. > >So what do you all think about: > > (define-module (foo) > #:import ((bar) > (only (baz) qux foo) > ...)) We once discussed having a plural #use-modules in this thread. http://lists.gnu.org/archive/html/guile-user/2007-10/msg00002.html -Mike Gran