QuickCheck common typeclasses from `base` https://github.com/andrewthad/quickcheck-classes#readme
|Stackage Nightly 2020-01-25:||0.6.0.0|
|Latest on Hackage:||0.6.0.0|
Module documentation for 0.6.0.0
This libary is a minimal variant of
only provides laws for typeclasses from
base. The main purpose
of splitting this out is so that
primitive can depend on
quickcheck-classes-base in its test suite, avoiding the circular
dependency that arises if
quickcheck-classes is used instead.
This library provides QuickCheck properties to ensure
that typeclass instances adhere to the set of laws that
they are supposed to. There are other libraries that do
similar things, such as
This library differs from other solutions by not introducing
any new typeclasses that the user needs to learn.
Note: on GHC < 8.5, this library uses the higher-kinded typeclasses
but on GHC >= 8.5, it uses
-XQuantifiedConstraints to express these
constraints more cleanly.
All notable changes to this project will be documented in this file.
[0.6.0.0] - 2019-08-07
- Initial release. This factor out a subset of laws tests
quickcheck-classesand depend on this library that have a more minimal dependency footprint.
- Add laws for left rotate and right rotate.
- Add law that checks that subtraction is the same thing as adding the negation of a number.