0

When I try to test my code, IntelliJ gave me this error. However, I have used cabal install QuickCheck to install.

Testing.hs:3:1: error:
    Could not find module ‘Test.QuickCheck’
    Use -v to see a list of the files searched for.
  |
3 | import Test.QuickCheck
  | ^^^^^^^^^^^^^^^^^^^^^^
Failed, 0 modules loaded.

1 Answers1

0

I think this is another instance of a nasty bug in the full release of the 8.2.1 Haskell-Platform binaries.

The solution is either to force reinstalls of the broken things, or simply to upgrade to the fixed release. More details were provided here: https://mail.haskell.org/pipermail/haskell-cafe/2017-October/127979.html

sclv
  • 38,665
  • 7
  • 99
  • 204