Can not install GHC-Mod

前端 未结 2 1062
北荒
北荒 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).

提交回复
热议问题