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
#-}
^