<br>I am having problem running GHCI with Haskell files that include imports. I am running emacs22 on Ubuntu, with haskell-mode-2.4 extensions. <br><br>I load my file (Fal.lhs in this case) in emacs. Then try to run the Ghci by doing C-c C-l. The result is shown below. Ghci fails to find the Draw.lhs which is also on the same directory as the Fal.lhs. Note: If I go to the directory where Fal.lhs is and run Ghci directly it all works fine. Any idea how I can get the interepreter to work form emacs?<br>
<br clear="all"><div style="margin-left: 40px;">GHCi, version 6.10.1: <a href="http://www.haskell.org/ghc/">http://www.haskell.org/ghc/</a> :? for help<br>Loading package ghc-prim ... linking ... done.<br>Loading package integer ... linking ... done.<br>
Loading package base ... linking ... done.<br><b>Prelude> :cd ~/.cabal/<br>Prelude> :load "../Documents/haskell/SOE/src/Fal.lhs"<br></b><br>../Documents/haskell/SOE/src/Fal.lhs:76:9:<br> Could not find module `Draw':<br>
Use -v to see a list of the files searched for.<br>Failed, modules loaded: none.<br>Prelude> <br></div><br>Thanks,<br><br>Daryoush<br><br>