If you include() the source file for the module, it will be replaced. Then you just have to make sure that you don't have any references to stuff in the old module that stick around. If you always reference things in the module via dot notation you should be fine. Another way, which I usually use, is to create a module for my test code as well, which I reload via include() after reloading the module (or that reloads the module before using it).
- [julia-users] Developping and debugging a module Ján Dolinský
- [julia-users] Developping and debugging a module Toivo Henningsson
- [julia-users] Re: Developping and debugging a m... Ján Dolinský
- [julia-users] Re: Developping and debugging a modul... Ján Dolinský