Reloading modules

Luke Gorrie <>
Tue Mar 11 17:29:08 CET 2003


Webb Sprague <> writes:

> Is there a way to reload modules that you change in the
> shell. Basically, I just want to test them, change, test, etc.  If I
> need to write something a function, that would be fine, but this would
> help me out a lot.

If you compile with "c(mymodule)", it automatically gets
reloaded. Otherwise, you can do "l(mymodule)" to do the reload.

NB: you can find all these builtin shell functions in the 'c' module
in stdlib (it has a manpage too.)

Cheers,
Luke




More information about the erlang-questions mailing list