This is the mail archive of the guile@cygnus.com mailing list for the guile project.
| Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
|---|---|---|
| Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
>>>>> "Klaus" == Klaus Schilling <Klaus.Schilling@home.ivm.de> writes:
Klaus> Whenever I call (load-from-path "some.file"), all modules
Klaus> that I started before with (use-modules (some-dir
Klaus> some-module)) are forgotten by guile. This makes it
Klaus> impossible to use load-from-path on files that use
Klaus> modules. Where could be the cause of that problem?
I guess that your "some.file" is like the following:
(define-module (some-dir2 azerty))
[stuff]
and you wonder that in [stuff] you have not access to module (some-dir
some-module). This is the intended behaviour.
On the contrary, if "some.file" is:
(define-module (some-dir2 azerty))
(use-modules (some-dir some-module))
[stuff]
you have access to public names from the added module.
--
B. Urban