试图安装iHaskell - 冲突版本的hLint

时间:2015-03-14 12:33:11

标签: haskell cabal ihaskell

根据iHaskell页面,应该可以从Hackage

安装
cabal install ihaskell

然而,当我这样做时,它无法安装某些软件包:

...
[ 7 of 44] Compiling HsColour         ( src/HsColour.hs, dist/build/HsColour.o )

src/HsColour.hs:25:16:
    Couldn't match type `Int' with `[Char]'
    Expected type: String -> String
      Actual type: Int -> String -> String
    In the return type of a call of `CSS.hscolour'
    Probable cause: `CSS.hscolour' is applied to too few arguments
    In the expression: CSS.hscolour False
    In an equation for `hsColourHTML':
        hsColourHTML = CSS.hscolour False
Failed to install hlint-1.9.10
cabal: Error: some packages failed to install:
hlint-1.9.10 failed during the building phase. The exception was:
ExitFailure 1
ihaskell-0.5.0.0 depends on hlint-1.9.10 which failed to install.

建议hlint-1.9.10的内容。但是,hlint-1.9.17实际上存在。

ubuntu:~$ hlint -V
HLint v1.9.17, (C) Neil Mitchell 2006-2015

0 个答案:

没有答案