“invalid preprocessing directive” when installing memoize

我是研究僧i 提交于 2019-12-11 14:01:59

问题


I try running:

cabal install memoize

in the Terminal but all I get is:

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

The 1 error is:

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

来源:https://stackoverflow.com/questions/23595173/invalid-preprocessing-directive-when-installing-memoize

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!