The QuickCheck package

[ Tags: bsd3, library, testing ] [ Propose Tags ]

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.

[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, 2.10,, 2.10.1, 2.11, 2.11.1, 2.11.2, 2.11.3 (info)
Change log changelog
Dependencies base (<5), extensible-exceptions, ghc, ghc-prim, old-locale, old-time, random, template-haskell (>=2.4 && <2.11), tf-random (>=0.4) [details]
License BSD3
Copyright 2000-2014 Koen Claessen, 2006-2008 Björn Bringert, 2009-2014 Nick Smallbone
Author Koen Claessen <>
Maintainer QuickCheck developers <>
Category Testing
Home page
Bug tracker
Source repo head: git clone
this: git clone 2.7.3)
Uploaded Mon Mar 24 08:48:26 UTC 2014 by NickSmallbone
Updated Mon Dec 21 12:33:23 UTC 2015 by HerbertValerioRiedel to revision 1   [What is this?]
Distributions Arch:2.10.1, Debian:2.8.1, Fedora:2.10.1, FreeBSD:2.8.1, LTSHaskell:2.10.1, NixOS:2.11.3, Stackage:2.11.3, openSUSE:2.10.1
Downloads 317886 total (914 in the last 30 days)
Rating 2.75 (votes: 9) [estimated by rule of succession]
Your Rating
  • λ
  • λ
  • λ
Status Docs available [build log]
Successful builds reported [all 1 reports]
Hackage Matrix CI





Choose the new smaller, split-up base package.


Choose the even newer base package with extensible exceptions.


Build Test.QuickCheck.All, which uses Template Haskell.


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


Note: This package has metadata revisions in the cabal description newer than included in the tarball. To unpack the package including the revisions, use 'cabal get'.

Maintainer's Corner

For package maintainers and hackage trustees

Readme for QuickCheck-2.7.3

[back to package description]
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.