generic-arbitrary

Generic implementation for QuickCheck's Arbitrary

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

Version on this page:0.2.1
LTS Haskell 22.18:1.0.1
Stackage Nightly 2024-04-27: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.1@sha256:82e28b909cf4a57e599f7b59273a621122cab4998b831d87866b2372e61bb302,1189

Module documentation for 0.2.1

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