Rob*_*een 2 emacs haskell haskell-mode intero
我在emacs下使用Intero来编辑我的新Haskell项目.我向我的代码添加了第三方库的导入,以查看Intero是否会自动添加必要的依赖项,但事实并非如此.所以我.cabal手动编辑了文件以添加必要的依赖项.现在我该怎么做 - 没有重启emacs?
我尝试cabal install --dependencies-only; cabal configure在命令行运行并且它们成功运行,但是flycheck缓冲区仍然显示错误.
所有必要的是运行
M-x intero-restart
Run Code Online (Sandbox Code Playgroud)
在emacs中.
Intero使用堆栈,它为您正在开发的每个包都有自己的私有沙箱,因此cabal install --dependencies-only不需要或没用.