unofficial mirror of bug-guile@gnu.org 
 help / color / mirror / Atom feed
* [bug #17504] use-modules -- module (foo) using (foo list) causes error.
       [not found] ` <20060822-235215.sv0.83884@savannah.gnu.org>
@ 2007-10-21 13:32   ` Ludovic Courtès
  0 siblings, 0 replies; only message in thread
From: Ludovic Courtès @ 2007-10-21 13:32 UTC (permalink / raw)
  To: Ludovic Courtès, bug-guile


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/



_______________________________________________
Bug-guile mailing list
Bug-guile@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-guile


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2007-10-21 13:32 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <20060822-235042.sv0.61403@savannah.gnu.org>
     [not found] ` <20060822-235215.sv0.83884@savannah.gnu.org>
2007-10-21 13:32   ` [bug #17504] use-modules -- module (foo) using (foo list) causes error Ludovic Courtès

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).