haskell - win10 ghc-mod 安装失败(ghc 8.2.1)

标签 haskell

cabal: Could not resolve dependencies:
trying: ghc-mod-5.8.0.0 (user goal)
next goal: base (dependency of ghc-mod-5.8.0.0)
rejecting: base-4.10.0.0/installed-4.1... (conflict: ghc-mod => base<4.10 && >=4.6.0.1)
rejecting: base-4.10.0.0, base-4.9.1.0, base-4.9.0.0, base-4.8.2.0,
base-4.8.1.0, base-4.8.0.0, base-4.7.0.2, base-4.7.0.1, base-4.7.0.0,
base-4.6.0.1, base-4.6.0.0, base-4.5.1.0, base-4.5.0.0, base-4.4.1.0,
base-4.4.0.0, base-4.3.1.0, base-4.3.0.0, base-4.2.0.2, base-4.2.0.1,
base-4.2.0.0, base-4.1.0.0, base-4.0.0.0, base-3.0.3.2, base-3.0.3.1
(constraint from non-upgradeable package requires installed instance)
After searching the rest of the dependency tree exhaustively, these were the goals I've had most trouble fulfilling: base, ghc-mod, syb

发生了什么?还有,我该怎么办?

最佳答案

根据this ticket对于 ghc-mod,

GHC 8.2.1 is not supported yet, hence the base<4.10 constraint.

(截至 2917 年 9 月中旬)并且,

对 8.2.1 的功能支持已添加到 v5.9.0.0 milestone .

关于haskell - win10 ghc-mod 安装失败(ghc 8.2.1),我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/46265578/

相关文章:

haskell - 如何将 Haskell 库与 Rust 项目静态链接?

haskell - gtksourceview2 : implement completion provider

haskell - 在 HList 中查找元素

function - 如何在一个函数中找到具有多个输入的函数输出的最大值?

haskell - 使用 constructive-algebra 包定义代数模块

haskell - GHC 垃圾收集器/运行时如何知道它可以创建数组 `inplace'

haskell - 参数多态性和更高种类的类型之间有什么区别?

authentication - Yesod 中的多重身份验证?