unofficial mirror of guile-user@gnu.org 
 help / color / mirror / Atom feed
* Loading a module before and after adding a load path
@ 2013-01-18 15:53 Diogo F. S. Ramos
  2013-01-18 17:44 ` Yanbin Zhang
  2013-01-19  3:17 ` Nala Ginrut
  0 siblings, 2 replies; 10+ messages in thread
From: Diogo F. S. Ramos @ 2013-01-18 15:53 UTC (permalink / raw)
  To: guile-user

I have a module at `/path/to/foo'.

If I open a guile REPL and type:

(add-to-load-path "/path/to/foo")
(use-modules (foo bar))

everything works. But, if I type:

(use-modules (foo bar))
(add-to-load-path "/path/to/foo")
(use-modules (foo bar))

I get the same error I've got by using a module before adding the path:

ERROR: no code for module (foo bar)

How can I load a module if I tried loading it before adding the path?

I'm using Guile 2.0.5.



^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2013-01-21 18:12 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-01-18 15:53 Loading a module before and after adding a load path Diogo F. S. Ramos
2013-01-18 17:44 ` Yanbin Zhang
2013-01-18 18:17   ` Diogo F. S. Ramos
2013-01-19  3:17 ` Nala Ginrut
2013-01-19  4:15   ` Diogo F. S. Ramos
2013-01-19  4:32     ` Noah Lavine
2013-01-19  6:05       ` Diogo F. S. Ramos
2013-01-20 18:34       ` Andy Wingo
2013-01-21 17:20         ` Ludovic Courtès
2013-01-21 18:12           ` Andy Wingo

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).