guile-user
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Two questions about the guile module system


From: Marius Vollmer
Subject: Re: Two questions about the guile module system
Date: 31 Mar 2003 16:33:00 +0200
User-agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3

Joris van der Hoeven <address@hidden> writes:

> 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.

> 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'.

-- 
GPG: D5D4E405 - 2F9B BCCC 8527 692A 04E3  331E FAF8 226A D5D4 E405




reply via email to

[Prev in Thread] Current Thread [Next in Thread]