1
当我尝试安装hstats
包故障使用阴谋
$ cabal install hstats
我收到以下错误从hackage安装hstats库:
src/Math/Statistics.hs:1:1:
Ambiguous module name `Prelude':
it was found in multiple packages: base haskell98-2.0.0.2
Failed to install hstats-0.3
cabal: Error: some packages failed to install:
hstats-0.3 failed during the building phase. The exception was:
ExitFailure 1
我该如何解决这个问题?
谢谢!我下载了存档文件http://hackage.haskell.org/package/hstats-0.3/hstats-0.3.tar.gz,删除了haskell98作为依赖项,并执行了'cabal install'。作品! – BinRoot
为什么这不正式修复? –