[英]Haskell parse error in my xmonad.hs config that i don't understand?
[英]How can I import local modules from my .xmonad/xmonad.hs
我正在尝试从〜/ .xmonad / Tree.hs导入名为'Tree.hs'的自定义本地模块,但是我得到了:
Error detected while loading xmonad configuration file: /home/shahn/.xmonad/xmonad.hs
xmonad.hs:55:8:
Could not find module ‘Tree’
Use -v to see a list of the files searched for.
Please check the file for errors.
ghc似乎没有在〜/ .xmonad中搜索模块。 是否有实现此目标的好方法?
~/.xmonad/lib
在~/.xmonad/lib
目录中搜索模块。 只需将您的模块放在那里。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.