"无效的预处理指令"安装memoize时

时间:2014-05-11 16:36:53

标签: haskell ghc cabal memoization

我尝试跑步:

cabal install memoize

在终端,但我得到的是:

11 warnings and 1 error generated.
Failed to install memoize-0.6
cabal: Error: some packages failed to install:
memoize-0.6 failed during the building phase. The exception was:
ExitFailure 1

1错误是:

Data/Function/Memoize/TH.hs:5:6:
     error: invalid preprocessing directive
        #-}
         ^

0 个答案:

没有答案