Warning: file_get_contents(/data/phpspider/zhask/data//catemap/6/haskell/9.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
无法在OS X Yosemite Haskell版本ghc 7.10.1上安装arithmoi_Haskell_Ghc_Cabal Install - Fatal编程技术网

无法在OS X Yosemite Haskell版本ghc 7.10.1上安装arithmoi

无法在OS X Yosemite Haskell版本ghc 7.10.1上安装arithmoi,haskell,ghc,cabal-install,Haskell,Ghc,Cabal Install,我一直在尝试在ghc 7.10.1 OS X Yosemite上安装“arithmoi”软件包,但当我尝试cabal安装arithmoi时,我不断收到错误: Resolving dependencies... cabal: Could not resolve dependencies: trying: arithmoi-0.4.1.2 (user goal) next goal: base (dependency of arithmoi-0.4.1.2) rejecting: base-4.8.

我一直在尝试在ghc 7.10.1 OS X Yosemite上安装“arithmoi”软件包,但当我尝试
cabal安装arithmoi
时,我不断收到错误:

Resolving dependencies...
cabal: Could not resolve dependencies:
trying: arithmoi-0.4.1.2 (user goal)
next goal: base (dependency of arithmoi-0.4.1.2)
rejecting: base-4.8.0.0/installed-901... (conflict: base =>
integer-gmp==1.0.0.0/installed-3c9..., arithmoi => integer-gmp<1)
rejecting: base-4.8.0.0, 4.7.0.2, 4.7.0.1, 4.7.0.0, 4.6.0.1, 4.6.0.0, 4.5.1.0,
4.5.0.0, 4.4.1.0, 4.4.0.0, 4.3.1.0, 4.3.0.0, 4.2.0.2, 4.2.0.1, 4.2.0.0,
4.1.0.0, 4.0.0.0, 3.0.3.2, 3.0.3.1 (global constraint requires installed
instance)
Dependency tree exhaustively searched.
正在解析依赖项。。。 阴谋集团:无法解析依赖项: 尝试:arithmoi-0.4.1.2(用户目标) 下一个目标:基础(arithmoi-0.4.1.2的依赖性) 拒绝:base-4.8.0.0/已安装-901。。。(冲突:基本=>
integer gmp==1.0.0.0/installed-3c9…,arithmoi=>integer gmpRun
cabal update
。arithmoi版本0.4.1.3已经发布,这解决了integer gmp的绑定问题。

arithmoi目前不太稳定,它的代码非常可怕。不要使用它的主筛选代码(有时会出错)在使用rest时要三思。软件包有一个新的维护者,他打算替换代码库的大部分。等待这一点可能是明智的。