From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Ludovic =?UTF-8?B?Q291cnTDqHM=?= Newsgroups: gmane.lisp.guile.bugs Subject: [bug #17504] use-modules -- module (foo) using (foo list) causes error. Date: Sun, 21 Oct 2007 13:32:36 +0000 Message-ID: <20071021-133236.sv15145.24607@savannah.gnu.org> References: <20060822-235042.sv0.61403@savannah.gnu.org> <20060822-235215.sv0.83884@savannah.gnu.org> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain;charset=UTF-8 X-Trace: ger.gmane.org 1192973576 11772 80.91.229.12 (21 Oct 2007 13:32:56 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 21 Oct 2007 13:32:56 +0000 (UTC) To: Ludovic =?UTF-8?B?Q291cnTDqHM=?= , bug-guile@gnu.org Original-X-From: bug-guile-bounces+guile-bugs=m.gmane.org@gnu.org Sun Oct 21 15:32:55 2007 Return-path: Envelope-to: guile-bugs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1IjavG-00032v-Lv for guile-bugs@m.gmane.org; Sun, 21 Oct 2007 15:32:54 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Ijav9-0004Se-0v for guile-bugs@m.gmane.org; Sun, 21 Oct 2007 09:32:47 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Ijav2-0004MX-9h for bug-guile@gnu.org; Sun, 21 Oct 2007 09:32:40 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Ijav0-0004Jz-Ct for bug-guile@gnu.org; Sun, 21 Oct 2007 09:32:39 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Ijav0-0004Jl-73 for bug-guile@gnu.org; Sun, 21 Oct 2007 09:32:38 -0400 Original-Received: from savannah.gnu.org ([199.232.41.3] helo=sv.gnu.org) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1Ijauz-0004zE-Sm for bug-guile@gnu.org; Sun, 21 Oct 2007 09:32:38 -0400 Original-Received: from savannah.gnu.org ([199.232.41.3] helo=frontend) by sv.gnu.org with esmtp (Exim 4.63) (envelope-from ) id 1Ijauz-0005Gv-AT; Sun, 21 Oct 2007 13:32:37 +0000 Original-Received: from www-data by frontend with local (Exim 4.63) (envelope-from ) id 1Ijauy-0005Gs-Ss; Sun, 21 Oct 2007 13:32:37 +0000 X-Savane-Server: savannah.gnu.org:443 [199.232.41.3] X-Savane-Project: guile X-Savane-Tracker: bugs X-Savane-Item-ID: 17504 User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.0.11) Gecko/20070324 (Debian-1.8.0.11-1) Galeon/2.0.2 (Debian package 2.0.2-4) X-Apparently-From: 80.67.176.9 (Savane authenticated user civodul) In-Reply-To: <20060822-235215.sv0.83884@savannah.gnu.org> X-detected-kernel: by monty-python.gnu.org: Linux 2.6 (newer, 3) X-BeenThere: bug-guile@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Bug reports for GUILE, GNU's Ubiquitous Extension Language" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: bug-guile-bounces+guile-bugs=m.gmane.org@gnu.org Errors-To: bug-guile-bounces+guile-bugs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.lisp.guile.bugs:3633 Archived-At: Update of bug #17504 (project guile): Open/Closed: Open => Closed _______________________________________________________ Follow-up Comment #2: (This is an old bug, but still worth answering.) Because of the recursive hierarchical naming scheme used by modules, one cannot use `list' (or any other primitive procedure name like `eval', `+', `define', etc.) as the component of a module name. For instance, `(nested-ref the-scm-module '(list))' returns the `list' procedure, because `list' is bound within `the-scm-module' to a procedure, not a module. Conversely, `(define-module (x y))' binds `y' within module `(x)' to another module. More information about nested references is available in `boot-9.scm'. _______________________________________________________ Reply to this item at: _______________________________________________ Message sent via/by Savannah http://savannah.gnu.org/ _______________________________________________ Bug-guile mailing list Bug-guile@gnu.org http://lists.gnu.org/mailman/listinfo/bug-guile