我尝试跑步:
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
#-}
^