This is the mail archive of the guile@sourceware.cygnus.com mailing list for the Guile project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: module question


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

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]