Generic implementation for QuickCheck's Arbitrary

Version on this page:0.2.0
LTS Haskell 19.8:0.2.2
Stackage Nightly 2022-05-20:0.2.2
Latest on Hackage:0.2.2

See all snapshots generic-arbitrary appears in

MIT licensed by contributors
Maintained by
This version can be pinned in stack with:generic-arbitrary-0.2.0@sha256:5c8619724d64271725c89a479630279fde40825eed75e68960ed0f14ca682d78,1157

Module documentation for 0.2.0

Depends on 2 packages(full list with versions):

Generic implementations of methods of the Arbitrary class from the QuickCheck library. The approach taken here can lead to diverging instances for recursive types but is safe for non-recursive ones and guarantees flat distribution for constructors of sum-types.



  • Added GenericArbitrary for use with the DerivingVia compiler extension.
  • Minimum bound on QuickCheck changed to 2.14.


  • Public release