From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Clinton Ebadi Newsgroups: gmane.lisp.guile.user Subject: Re: rfc (define-module ... #:use-modules ...) Date: Thu, 04 Oct 2007 13:14:22 -0400 Message-ID: <87k5q2u7ip.fsf@unknownlamer.org> References: <87przvnf6i.fsf@ambire.localdomain> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1191518124 5261 80.91.229.12 (4 Oct 2007 17:15:24 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Thu, 4 Oct 2007 17:15:24 +0000 (UTC) To: guile-user@gnu.org Original-X-From: guile-user-bounces+guile-user=m.gmane.org@gnu.org Thu Oct 04 19:15:21 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 1IdUHy-0002ZB-SJ for guile-user@m.gmane.org; Thu, 04 Oct 2007 19:15:07 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IdUHt-0004RN-JB for guile-user@m.gmane.org; Thu, 04 Oct 2007 13:15:01 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1IdUHq-0004R2-07 for guile-user@gnu.org; Thu, 04 Oct 2007 13:14:58 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1IdUHo-0004Qc-IX for guile-user@gnu.org; Thu, 04 Oct 2007 13:14:57 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IdUHo-0004QZ-FJ for guile-user@gnu.org; Thu, 04 Oct 2007 13:14:56 -0400 Original-Received: from fyodor.hcoop.net ([64.20.38.170]) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1IdUHo-0002Fw-7F for guile-user@gnu.org; Thu, 04 Oct 2007 13:14:56 -0400 Original-Received: from cpe-071-077-055-135.nc.res.rr.com ([71.77.55.135] helo=localhost.localdomain) by fyodor.hcoop.net with esmtpsa (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.63) (envelope-from ) id 1IdUJQ-0001gj-6B for guile-user@gnu.org; Thu, 04 Oct 2007 13:16:36 -0400 In-Reply-To: <87przvnf6i.fsf@ambire.localdomain> (Thien-Thi Nguyen's message of "Thu\, 04 Oct 2007 16\:10\:45 +0200") User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.1 (gnu/linux) X-Detected-Kernel: Linux 2.4-2.6 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:6183 Archived-At: Thien-Thi Nguyen writes: > currently: > (define-module (foo) > #:use-module (a b c) > #:use-module ((d e f) #:select (x y z)) > #:export (bar)) > > 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 would prefer something with the syntax #:use-modules ((a b c) ((d e f) #:select (x y z))) Which eliminates the indentation issues and brings it more in line with the syntax of Common Lisp's defpackage :use clause. Insert generic comment about consistent syntax here. -- "Karen loved animals. Unfortunately the cheetahs betrayed her trust," Libot said. _______________________________________________ Guile-user mailing list Guile-user@gnu.org http://lists.gnu.org/mailman/listinfo/guile-user