The QuickCheck package

[Tags:bsd3, library]

QuickCheck is a library for random testing of program properties.

The programmer provides a specification of the program, in the form of properties which functions should satisfy, and QuickCheck then tests that the properties hold in a large number of randomly generated cases.

Specifications are expressed in Haskell, using combinators defined in the QuickCheck library. QuickCheck provides combinators to define properties, observe the distribution of test data, and define test data generators.

You can find a (slightly out-of-date but useful) manual at

[Skip to Readme]


Versions 1.0,,,, 2.1,,,, 2.1.1,, 2.1.2, 2.2, 2.3,,, 2.4,, 2.4.1,, 2.4.2, 2.5, 2.5.1,, 2.6, 2.7, 2.7.1, 2.7.2, 2.7.3, 2.7.4, 2.7.5, 2.7.6, 2.8, 2.8.1, 2.8.2, 2.9, 2.9.1, 2.9.2
Change log changelog
Dependencies base (>=4.3 && <5), containers, ghc-prim, nats (>=1), old-locale, old-time, random, semigroups (>=0.9), template-haskell (>=2.4), tf-random (>=0.4), transformers (>=0.2) [details]
License BSD3
Copyright 2000-2016 Koen Claessen, 2006-2008 Björn Bringert, 2009-2016 Nick Smallbone
Author Koen Claessen <>
Maintainer QuickCheck developers <>
Stability Unknown
Category Testing
Home page
Bug tracker
Source repository head: git clone
this: git clone 2.9.2)
Uploaded Thu Sep 15 10:03:45 UTC 2016 by NickSmallbone
Distributions Arch:2.9.2, Debian:2.8.1, Fedora:2.8.2, FreeBSD:2.8.1, LTSHaskell:2.8.2, NixOS:2.9.2, Stackage:2.9.2, Tumbleweed:2.8.2
Downloads 175887 total (231 in the last 30 days)
3 []
Status Docs available [build log]
Last success reported on 2016-09-15 [all 1 reports]




templatehaskellBuild Test.QuickCheck.All, which uses Template Haskell.EnabledAutomatic

Use -f <flag> to enable a flag, or -f -<flag> to disable that flag. More info


Maintainer's Corner

For package maintainers and hackage trustees

Readme for QuickCheck

Readme for QuickCheck-2.9.2

This is QuickCheck 2, a library for random testing of program properties.

Install it in the usual way:

$ cabal install

Please report bugs to the QuickCheck mailing list at

If you get errors about Template Haskell, try

$ cabal install -f-templateHaskell

but please report this as a bug.