Question

I've been trying to get Flymake to work with Haskell mode in emacs. I've gotten this to work in the past and I have to say the combination of Flymake and Haskell's type system is ridiculously synergistic. Now it seems I am having trouble getting error/warning highlighting and all to work. I've tried ghc-mod and I've also followed some of the wikis. Please help, bonus if you can get it working with cabal-dev.

GHC-7.4 and GHC 7.0. Emacs 23.4.

Was it helpful?

Solution

I think Eric is right on target. According to this: https://github.com/kazu-yamamoto/ghc-mod/issues/49 ghc-mod appears to work only with specific versions of GHC (7.0.4 seems to be a good choice)

OTHER TIPS

Have you tried following the steps described in this blog post?

They seem to use hs-lint with flymake to perform the syntactic checks. I'm not sure they support type errors reporting, though.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top