I have two files in one folder, Eval.hs and Data.hs , the module in Eval.hs imports the Eval.hs module in Data.hs when I try to load Eval.hs interactively (in emacs haskell mode: Ctrl-c, Ctrl l ), he said that he could not find the module defined in Data.hs , but he had successfully loaded earlier, why is it suddenly impossible? By the way, I noticed that the first time I execute Ctrl-c, Ctrl l , an interactive window:
GHCi, version 6.12.1: http://www.haskell.org/ghc/ :? for help Loading package ghc-prim ... linking ... done. Loading package integer-gmp ... linking ... done. Loading package base ... linking ... done. Prelude> :cd ~/.cabal/ Prelude> :load "../hs/TI/Eval.hs" ../hs/TI/Eval.hs:2:7: Could not find module `TI.Data': Use -v to see a list of the files searched for. Failed, modules loaded: none.
user618815
source share