barecheck: QuickCheck implementations for common types
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.
Downloads
- barecheck-0.2.0.8.tar.gz [browse] (Cabal source package)
- Package description (as included in the package)
Maintainer's Corner
For package maintainers and hackage trustees
Candidates
- No Candidates
Versions [RSS] | 0.2.0.0, 0.2.0.2, 0.2.0.4, 0.2.0.6, 0.2.0.8 |
---|---|
Dependencies | base (>=4.5.0.0 && <4.8.0.0), containers (>=0.4.2.1 && <0.6), QuickCheck (>=2.7 && <2.9), text (>=0.11.3.1 && <1.3), time (>=1.4 && <1.6) [details] |
Tested with | ghc ==7.6.3, ghc ==7.8.3 |
License | BSD-3-Clause |
Copyright | Copyright 2014 Omari Norman |
Author | Omari Norman, omari@smileystation.com |
Maintainer | Omari Norman, omari@smileystation.com |
Category | Testing |
Home page | http://github.com/massysett/barecheck |
Bug tracker | http://github.com/massysett/barecheck/issues |
Source repo | head: git clone https://github.com/massysett/barecheck.git |
Uploaded | by OmariNorman at 2015-03-20T03:04:56Z |
Distributions | |
Reverse Dependencies | 3 direct, 0 indirect [details] |
Downloads | 4018 total (0 in the last 30 days) |
Rating | (no votes yet) [estimated by Bayesian average] |
Your Rating | |
Status | Docs available [build log] Last success reported on 2015-03-20 [all 1 reports] |