This is the mail archive of the
guile@sourceware.cygnus.com
mailing list for the Guile project.
Re: module question
- To: Eric Moore <moore at chem dot cmu dot edu>
- Subject: Re: module question
- From: "Greg J. Badros" <gjb at cs dot washington dot edu>
- Date: 18 Feb 2000 21:59:05 -0800
- Cc: guile at sourceware dot cygnus dot com
- References: <14510.9373.344899.368640@lovecraft.chem.cmu.edu>
Eric Moore <moore@chem.cmu.edu> writes:
> why does this code:
> (define-module (eric http)
> :use-module (ice-9 regex)
> :use-module (ice-9 format))
>
> (display format) (newline)
>
> display:
> #<primitive-procedure simple-format>
>
> instead of:
> #<procedure format:format args>
>
> and more importantly, how can I use the full format in a module
> without having it shadowed by simple-format :)
If you've not updated since 11-Feb-2000, you should. You're likely
missing this line:
(define format format:format)
from near the end of ice-9/format.scm.
Greg