serras / emacs-haskell-tutorial

Tutorial on setting up Emacs to do Haskell programming
690 stars 100 forks source link

Cannot find certain modules #25

Open WillSewell opened 9 years ago

WillSewell commented 9 years ago

I'm having a strange error where haskell-mode can't seem to find certain modules. My project compiles fine, and haskell-mode interactive can find the modules fine (it may be mod-ghc, but I'm pretty sure it's haskell-mode because M-? doesn't show an error). The weird thing is when I manually run mod-ghc check myfile.hs it also doesn't show an error. The modules are there in my cabal file.

Here is an example of the error message in emacs:

error message

and these are what the errors look like in my imports section:

imports

I have no idea how to debug this...

serras commented 9 years ago

It seems that by the way ghc-mod configures the project, it is finding two network packages in your system. You might try asking in the ghc-mod project tracker, whom may have a better idea of what is going on.

ghost commented 8 years ago

@WillSewell Were you able to fix this, or does this issue still persist?