Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我一直在尝试让 Flymake 在 emacs 中使用 Haskell 模式。我过去已经让这个工作了,我不得不说 Flymake 和 Haskell 的类型系统的组合是荒谬的协同作用。现在看来我无法突出显示错误/警告并且一切正常。我已经尝试过 ghc-mod 并且我也关注了一些 wiki。请帮助,如果你能让它与 cabal-dev 一起工作,那就是奖金。
GHC-7.4 和 GHC 7.0。Emacs 23.4。
我认为埃里克是正确的。据此:https ://github.com/kazu-yamamoto/ghc-mod/issues/49 ghc-mod 似乎只适用于特定版本的 GHC(7.0.4 似乎是一个不错的选择)
您是否尝试过按照此博客文章中描述的步骤操作?
他们似乎使用带有 flymake 的 hs-lint 来执行语法检查。不过,我不确定它们是否支持类型错误报告。