[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug #17504] use-modules -- module (foo) using (foo list) causes error.
From: |
Ludovic Courtès |
Subject: |
[bug #17504] use-modules -- module (foo) using (foo list) causes error. |
Date: |
Sun, 21 Oct 2007 13:32:36 +0000 |
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) |
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:
<http://savannah.gnu.org/bugs/?17504>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [bug #17504] use-modules -- module (foo) using (foo list) causes error.,
Ludovic Courtès <=