Loading QuickCheck in GHCi.

Dear All, Whenever I tried to load QuickCheck in GHCi, I met the following problem: Prelude> :l Test.QuickCheck <no location info>: module `Test.QuickCheck' is a package module Failed, modules loaded: none. Test.QuickCheck seems to be a module anyway, bit it couldn't be loaded directly by issuing the command. I don't understand why. Thanks in advance. Kwanghoon PS. Of course, I installed QuickCheck-2.1.0.3, and I can use it when I load it by loading some haskell program having "import Test.QuickCheck".

Try :m Test.QuickCheck The GHC manual explains the difference between :l and :m. :l Data.Char gives me the same error, but :m Data.Char works. Same with other system packages. In general, when I have a problem I like to make it as big as I can, to see the shape of what's going wrong. Is Test.QuickCheck broken? Or am I using the wrong command in ghci? On Feb 15, 2010, at 6:26 AM, Kwanghoon Choi wrote:
Prelude> :l Test.QuickCheck
participants (2)
-
Dave Bayer
-
Kwanghoon Choi