[Haskell-cafe] Why cannot ghc find a existng module ?

zaxis z_axis at 163.com
Mon May 10 01:37:55 EDT 2010


%rm ~/.xmonad/xmonad.{hi,o}
%ls ~/.xmonad 
history  xmonad-i386-linux*  xmonad.errors  xmonad.hs
%xmonad --recompile
Error detected while loading xmonad configuration file:
/home/sw2wolf/.xmonad/xmonad.hs

xmonad.hs:20:7:
    Could not find module `XMonad.Layout.LayoutHints':
      Use -v to see a list of the files searched for.

Please check the file for errors.


Ivan Lazar Miljenovic wrote:
> 
> (Note that this really should be on the xmonad mailing list, but
> anyway...).
> 
> On 10 May 2010 15:09, zaxis <z_axis at 163.com> wrote:
>>
>> There is no any complain by ghc-pkg.
>> %ghc-pkg field xmonad-contrib exposed-modules | grep LayoutHints
>>                 XMonad.Layout.LayoutCombinators XMonad.Layout.LayoutHints
>>
> 
> Try "rm ~/.xmonad/xmonad.{hi,o}" and then xmonad --recompile again.
> 
> -- 
> Ivan Lazar Miljenovic
> Ivan.Miljenovic at gmail.com
> IvanMiljenovic.wordpress.com
> _______________________________________________
> Haskell-Cafe mailing list
> Haskell-Cafe at haskell.org
> http://www.haskell.org/mailman/listinfo/haskell-cafe
> 
> 


-----
e^(π⋅i) + 1 = 0
-- 
View this message in context: http://old.nabble.com/Why-cannot-ghc-find-a-existng-module---tp28507704p28507878.html
Sent from the Haskell - Haskell-Cafe mailing list archive at Nabble.com.



More information about the Haskell-Cafe mailing list