@hackage barecheck0.2.0.8
QuickCheck implementations for common types
Categories
License
BSD-3-Clause
Maintainer
Omari Norman, omari@smileystation.com
Links
Versions
Deprecated
Dependencies (5)
- QuickCheck >=2.7 && <2.9
- base >=4.5.0.0 && <4.8.0.0
- containers >=0.4.2.1 && <0.6
- text >=0.11.3.1 && <1.3
- time >=1.4 && <1.6 Show all…
Dependents (6)
@hackage/rainbox, @hackage/rainbow-tests, @hackage/quickpull, @hackage/acme-everything, @hackage/multiarg, @hackage/prednote-test
Provides QuickCheck implementations for common types distributed with GHC and in the Haskell Platform. The implementations are NOT provided through the QuickCheck Arbitrary and CoArbitrary typeclasses; instead, they are provided through ordinary, non-overloaded functions. This avoids problems with orphan instances.
Implementations are provided through child modules of the
module that provides the original type. For example, for
Data.Map, look under Data.Map.Generators,
Data.Map.Shrinkers, and Data.Map.Coarbitrary.
For instance, a function that generates a Map is at
Data.Map.Generators.map, while a function providing
a coarbitrary implementation is at Data.Map.Coarbitrary.map.
Obviously this can lead to name conflicts, both between
modules provided in this package and with other standard
modules, so keep this in mind when you do your imports.