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]

Re: Reload of a module


Alexander Asteroth <alexander.asteroth@informatik.uni-bonn.de> writes:

> How do I reload a module when its source code has changed?

If you're interactively programming using emacs, which would be a
smart way to go, you need some code to tell emacs in which module
forms should be evaluated.  There are various solutions to this, but
some time ago I rolled my own, which you can try out if you like.
It's at:

   http://idt.net/~mcmanus/download/guile-interface.el

This code is basically a thin veneer on top of cmuscheme.el that sends
some additional forms to the guile interpreter to establish the module
context at strategic points.

-russ


--
Hofstadter's Law: It always takes longer than you expect, even when you 
take into account Hofstadter's Law.