
Thanks!
This makes perfect sense, but as I just discovered using ghci -v there
is an even stranger problem. I'm side-tracking slightly from the
original question here, but nevertheless...
GHC gives the following output:
---
GHCi, version 6.12.3: http://www.haskell.org/ghc/ :? for help
<command line>: cannot satisfy -package QuickCheck-2.1.1.1:
QuickCheck-2.1.1.1-c7435cb0d5b5de72fe9540c48335606d is unusable
due to missing or recursive dependencies:
ghc-6.12.3-66a382195c8a71849653439b67021fd1
(use -v for more information)
shell returned 1
---
However I am using the version of GHC mentioned, so I have no idea
what is going on.
On Tue, Aug 31, 2010 at 1:09 AM, John Millikin
Update your cabal package list, and then install QuickCheck. Optionally, you can use a version specifier:
cabal update cabal install 'QuickCheck >= 2'
This should make QuickCheck 2 the default in GHCI. If it doesn't, you may need to specify the version:
ghci -package QuickCheck-2.2
For Cabal-packaged libraries/applications, simply update your version requirements.
On Mon, Aug 30, 2010 at 09:06, Lyndon Maydwell
wrote: I'm just trying these examples, and I can't figure out how to import quickcheck2 rather than quickcheck1. I've looked around but I can't seem to find any information on this. How do I do it?
Thanks!