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.
我按照这里的程序安装 GHC 和 cabal,然后安装 ghc-mod。
但是,我在这一步得到了这个错误
cabal update && cabal install cabal-install
配置 cabal-install-1.24.0.2... 无法安装 cabal-install-1.24.0.2 cabal:错误:某些软件包无法安装:cabal-install-1.24.0.2 在配置步骤中失败。退出失败 11
如果您haskell-platform通过安装apt-get,则版本ghc在7.10.3yakkety (Ubuntu 16.10) 之前。
haskell-platform
apt-get
ghc
7.10.3
这是有问题的,因为cabal-1.24需要ghc >= 8.0.1.
cabal-1.24
ghc >= 8.0.1
为了解决这个
stack
ghc-mod
PS 如果您是 emacsen,我建议您使用intero( site ) 而不是ghc-mod.
intero