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: Paul Jarc
Subject: Re: Two questions about the guile module system
Date: Mon, 07 Apr 2003 13:11:11 -0400
User-agent: Gnus/5.090018 (Oort Gnus v0.18) Emacs/21.3 (gnu/linux)

Marius Vollmer <address@hidden> wrote:
> I think it is best to change your code to
>
>    (define-module (std-libs))
>
>    (use-modules (boot-stuff)) ; defines export-from
>    (use-modules (std-lib-1) ... (std-lib-n))
>    (export-from (std-lib-1) ... (std-lib-n))
>    ...
>    (use-modules (appl-mod-1) ... (appl-mod-k))
>    ...
>
> and add a (use-modules (std-libs)) to any module that needs it.
> (Probably all (appl-mod-...) modules and maybe also the (std-lib-...)
> modules.)

That would result in circular dependencies.  Does use-modules handle
that?


paul




reply via email to

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