[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Two questions about the guile module system
From: |
Joris van der Hoeven |
Subject: |
Re: Two questions about the guile module system |
Date: |
Mon, 31 Mar 2003 17:00:11 +0200 (MET DST) |
> > 1) Define a module which combines all exports of a set of
> > other modules. Is there an analogue of the export keyword
> > which exports all exports of an imported module?
>
> There is no supported keyword to do this, but if you are determined
> enough, you can dig into the internals of the module system and do it
> yourself.
I would like something more standard than that. I also think that
a good module system should have a mechanism for what I want.
> > 2) Consider the following code
>
> What about:
>
> module.scm
>
> (define-module (module)
> :use-module (library))
>
> ...
> (foo)
> ...
>
> This way, 'module' says explicitely that it is using bindings from
> 'library'.
That is precisely what I do not want to do. The point is that
I have not one library module, but dozens of them. I do not want
to respecify all of them over and over again.