how to load an additional file to ghci

Peter Hercek phercek at
Thu Jan 15 10:44:49 EST 2009

Is it possible to load one more module to ghci without unloading the 
modules I have already loaded? The module I would like to load in 
addtion is not installed and I do not want it installed. It is also 
independent of any other modules. There is no dependency from the 
modules already loaded to the one I would like to add.

How to achieve something like "load a module in this file in addition to 
what I have already loaded and do not modify the the context for 
expression evaluation (:module) ... just make the exported functions in 
the file available through fully qualified names".

It would be handy for some helper stuff I have which is project 
independent and too often modified to be installed.


More information about the Glasgow-haskell-users mailing list