[英]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.