无法使用最新的 GHC/Haskell 平台安装 Yorgey 等人的"unbound"库



有没有人设法让Yorgey等人的"unbound"库,用于使用绑定语法,安装最新的GHC(7.0.3)和Haskell平台? 尝试未绑定的阴谋集团安装,我得到以下结果:

Resolving dependencies...
cabal: cannot configure unbound-0.2.3. It requires base >=4.3 && <5
For the dependency on base >=4.3 && <5 there are these packages: base-4.3.0.0
and base-4.3.1.0. However none of them are available.
base-4.3.0.0 was excluded because of the top level dependency base -any
base-4.3.1.0 was excluded because of the top level dependency base -any

有人知道解决方案/解决方法,或者这里可能发生了什么?

只是为了关闭这个:

  • "未绑定"库在 2011 Haskell 平台上运行良好,并且确实在没有警告的情况下构建。

OP 在他的路径中有多个(旧)版本的 GHC,导致构建错误,因为该软件包依赖于 GHC 7。确保您拥有Haskell平台环境是解决方案。

作为注释,我们应该编写一个脚本来检查给定Haskell环境的健全性,以捕获此类错误

最新更新