Can not install GHC-Mod

前端 未结 2 1060
北荒
北荒 2021-01-20 10:54

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         


        
相关标签:
2条回答
  • 2021-01-20 11:06

    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).

    0 讨论(0)
  • 2021-01-20 11:09

    ghc-mod is clearly unused by most people working with the latest toolchain or else this would work. Consider abandoning it too.

    0 讨论(0)
提交回复
热议问题