generic-arbitrary

Generic implementation for QuickCheck's Arbitrary

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

Version on this page:0.2.2
LTS Haskell 22.17:1.0.1
Stackage Nightly 2024-04-18: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.2@sha256:202ffbf2032672a51318f2e80d7e75b72f8950e690346b4314f38bc7e39215f7,1189

Module documentation for 0.2.2

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.2

  • Resolved an issue where the size of the generators could become negative

0.2.1

  • Added compatibility with GHC 9.2.1

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