From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Mike Gran Newsgroups: gmane.lisp.guile.user Subject: Re: rfc (define-module ... #:use-modules ...) Date: Thu, 4 Oct 2007 08:30:04 -0700 (PDT) Message-ID: <445686.65620.qm@web37903.mail.mud.yahoo.com> References: <87przvnf6i.fsf@ambire.localdomain> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Trace: sea.gmane.org 1191511877 13410 80.91.229.12 (4 Oct 2007 15:31:17 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Thu, 4 Oct 2007 15:31:17 +0000 (UTC) To: guile-user@gnu.org Original-X-From: guile-user-bounces+guile-user=m.gmane.org@gnu.org Thu Oct 04 17:31:14 2007 Return-path: Envelope-to: guile-user@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1IdSeb-0004Qg-LI for guile-user@m.gmane.org; Thu, 04 Oct 2007 17:30:21 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IdSeW-0005dd-Lh for guile-user@m.gmane.org; Thu, 04 Oct 2007 11:30:16 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1IdSeQ-0005aR-T8 for guile-user@gnu.org; Thu, 04 Oct 2007 11:30:10 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1IdSeO-0005YP-5Y for guile-user@gnu.org; Thu, 04 Oct 2007 11:30:10 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IdSeN-0005YH-Vh for guile-user@gnu.org; Thu, 04 Oct 2007 11:30:07 -0400 Original-Received: from web37903.mail.mud.yahoo.com ([209.191.91.165]) by monty-python.gnu.org with smtp (Exim 4.60) (envelope-from ) id 1IdSeN-0003Ge-Jb for guile-user@gnu.org; Thu, 04 Oct 2007 11:30:07 -0400 Original-Received: (qmail 66166 invoked by uid 60001); 4 Oct 2007 15:30:04 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=X-YMail-OSG:Received:Date:From:Subject:To:In-Reply-To:MIME-Version:Content-Type:Content-Transfer-Encoding:Message-ID; b=qFDvQx0eEtPclZhTGxFZUq9jQRQEMJF1lPSHAlhswwDErovNazhkW/DcPAn7u+GxsSl6euRpM5DIURMNQ/Mw6b0T5PgW5nh6+MIKwWiyAT8F0meh2rHmc/dsXycJOGIzS+d4UFBZjWquhI6FWbeKYwjRenU8qXQl0IK1eNqOajw=; X-YMail-OSG: KF4jPwwVM1kTnMRAu0_HDZJwQBUHaTbhmg_1N_LwHsJoaT_rW9CzbXXau27ClrZpoSJb3rAEJQ-- Original-Received: from [76.90.238.220] by web37903.mail.mud.yahoo.com via HTTP; Thu, 04 Oct 2007 08:30:04 PDT In-Reply-To: <87przvnf6i.fsf@ambire.localdomain> X-Detected-Kernel: FreeBSD 4.7-5.2 (or MacOS X 10.2-10.4) (2) X-BeenThere: guile-user@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: General Guile related discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: guile-user-bounces+guile-user=m.gmane.org@gnu.org Errors-To: guile-user-bounces+guile-user=m.gmane.org@gnu.org Xref: news.gmane.org gmane.lisp.guile.user:6181 Archived-At: --- Thien-Thi Nguyen wrote: > proposed: > (define-module (foo) > #:use-modules > (a b c) > ((d e f) #:select (x y z)) > #:export (bar)) > > that is, `#:use-modules X Y Z' would be exactly equivalent > to `#:use-module X #:use-module Y #:use-module Z'. > I like it for two reasons. 1. The lack of parallelism between the (use-modules) procedure and the #:use-module form has always bothered me. 2. It would then be a bit easier to create a mapping to the r6rs library form. In r6rs libraries, you can include multiple libraries with one "import" command. _______________________________________________ Guile-user mailing list Guile-user@gnu.org http://lists.gnu.org/mailman/listinfo/guile-user