This is the mail archive of the
guile@cygnus.com
mailing list for the Guile project.
interate over the a public interface?
- To: guile@cygnus.com
- Subject: interate over the a public interface?
- From: Clark McGrew <mcgrew@ale.physics.sunysb.edu>
- Date: Sat, 8 May 1999 14:01:29 +0900 (JST)
- Reply-to: clark.mcgrew@sunysb.edu
Hello Everybody,
I've got an interactive environment that I'd like to include lots of
small modules into. In otherwords, I'd like to have a module boot
(define-module (boot)
:use-module (mod1)
:use-module (mod2)
:use-module (mod3))
that I can include by saying
(use-module (boot))
and get the exports of mod1, mod2, &c.
I've had some success with module-for-each, but it interates over all
variables in a module (local and exported). Is there a way to only
iterate over the public interface?
Thanks,
Clark