QuickCheck common typeclasses from `base`
This library is a minimal variant of `quickcheck-classes` that 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 `genvalidity-hspec` and `checkers`. 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 ('Data.Functor.Classes.Show1', 'Data.Functor.Classes.Eq1', 'Data.Functor.Classes.Ord1', etc.), but on GHC >= 8.5, it uses `-XQuantifiedConstraints` to express these constraints more cleanly.
System | Target | Derivation | Build status |
---|---|---|---|
x86_64-linux | /gnu/store/xq41gvw5yavc3008gzn71sjc7047yv2r-ghc-quickcheck-classes-base-0.6.2.0.drv | ||
i686-linux | /gnu/store/h94rb6rdq19mlvaw1w5j1pmcvw1s5zi5-ghc-quickcheck-classes-base-0.6.2.0.drv |
Linter | Message | Location |
---|---|---|
description Validate package descriptions | use @code or similar ornament instead of quotes | |
description Validate package descriptions | sentences in description should be followed by two spaces; possible infractions at 109, 318, 450, 544 |