generic-arbitrary

Generic implementation for QuickCheck's Arbitrary

http://github.com/typeable/generic-arbitrary#readme

Version on this page:0.2.0
LTS Haskell 22.14:1.0.1
Stackage Nightly 2024-03-28:1.0.1
Latest on Hackage:1.0.1

See all snapshots generic-arbitrary appears in

MIT licensed by Typeable.io contributors
Maintained by [email protected]
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.

Changes

0.2.0

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

0.1.0

  • Public release