[Haskell-beginners] QuickCheck

Lee Duhem lee.duhem at gmail.com
Sat May 23 23:49:17 EDT 2009


On Sun, May 24, 2009 at 11:25 AM, Thomas Friedrich <info at suud.de> wrote:
> Hi Lee,
>
> I do have GHC and no, I seem to not have it.
>
> $ ghc-pkg list | grep -i quickcheck
>   Cabal-1.6.0.3, Chart-0.10.3, HUnit-1.2.0.3, QuickCheck-1.2.0.0,
>   Diff-0.1.2, QuickCheck-2.1.0.1, binary-0.5.0.1,

Did you notice that you have two QuickCheck installed?

>
>
> When I am in ghci, I have the following options:
>
> Prelude> :m +Test.QuickCheck
> Test.QuickCheck            Test.QuickCheck.Function
> Test.QuickCheck.Monadic    Test.QuickCheck.Property   Test.QuickCheck.Test
> Test.QuickCheck.Arbitrary  Test.QuickCheck.Gen        Test.QuickCheck.Poly
>     Test.QuickCheck.State      Test.QuickCheck.Text
> Prelude> :m +Test.QuickCheck
>
> But no Test.QuickCheck.Batch
>

I guess you use QuickCheck-2.1 instead of 1.2, and Test.QuickCheck.Batch
in QuickCheck-1.2, not in 2.1

lee


More information about the Beginners mailing list