[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: environments
From: |
Paul Jarc |
Subject: |
Re: environments |
Date: |
Wed, 24 Mar 2004 10:06:50 -0500 |
User-agent: |
Gnus/5.110002 (No Gnus v0.2) Emacs/21.3 (gnu/linux) |
Ian Zimmerman <address@hidden> wrote:
> ; how to implement make-env? with resolve-module, current-module, ..?
> (define e (make-env))
(define e (make-module 31 (list (resolve-module '(guile)))))
The 31 specifies the initial size of the hash table used for symbols.
After that is a list of modules (just one, in this case) - if you try
to look up a symbol in e and it isn't there, guile will fall back to
those other modules.
paul