Hello guys i am trying to install ghc-mod for vscode and i am running into this issue:
**$ stack install ghc-mod**
Populated index cache.
Error: While const
The problem is that ghc-mod
does not work on ghc-8.2. The latest Stack resolver that supports ghc-mod
seems to be lts-9.21
.
ghc-mod
has to be compiled with the same version of GHC you are using, so right now that constrains you to 8.0.
Edit (August 2020): ghc-mod has been deprecated in favour of the Haskell IDE Engine (HIE).
ghc-mod is clearly unused by most people working with the latest toolchain or else this would work. Consider abandoning it too.