[Haskell-cafe] Quick Question for QuickCheck2
maydwell at gmail.com
Mon Aug 30 13:18:52 EDT 2010
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-22.214.171.124:
QuickCheck-126.96.36.199-c7435cb0d5b5de72fe9540c48335606d is unusable
due to missing or recursive dependencies:
(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 <jmillikin at gmail.com> wrote:
> 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
> On Mon, Aug 30, 2010 at 09:06, Lyndon Maydwell <maydwell at gmail.com> 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?
More information about the Haskell-Cafe