packages feed

quickcheck-property-comb

Combinators for Quickcheck Property construction and diagnostics

view on Hackage

These are simple monads that aim to reduce the pain of composing invariants/properties, and the documenting of those invariants for determining the cause of failure. Specifically, they provide a tool for effective diagnostic for invariants with changing post-conditions, leading to a faster cause-of-failure diagnosis. Example case for invariants on a data structure Consumers: > data (Ord l) => Consumers l = > Consumers { > introduced :: S.Set l, > met :: M.Map (S.Set l) Bool, > disjoints :: Disjoints l > } > > disjoints_odds :: Inv (Disjoints l) > disjoints_odds = do > doc "no odd sets in disjoints" > disjoint_sets <- cause > .. > return False > > disjoints_non_singletons :: Inv (Disjoints l) > disjoints_non_singletons = do > .. > return True > > disjoints_inv :: Invariants (Disjoints l) > disjoints_inv= do > sat disjoints_odds > sat disjoints_non_singletons > > introduced_in_disjoint :: Inv (Consumers l) > introduced_in_disjoint = do > doc "all at quantity are a singleton subset in disjoints" > subsets <- (map S.singleton) . S.toList . introduced <$> cause > disjoint_sets <- disjoints <$> cause > return . and . map ((flip S.member) disjoint_sets) $ subsets > > inv_consumers :: Invariants (Consumers l) > inv_consumers = do > satcomp disjoints disjoints_inv > satcomp met met_inv > sat introduced_in_disjoint And to run the invariants on generated cases: > prop_testedFunction :: Arg -> Property > prop_testedFunction arg = > let consumers = testedFunction arg in > runInvariants consumers inv_consumers
versionuploadeduploaderchanges
0.1.0.22013-12-26 15:41 UTCjfeltz+22/−105 lines, 3 filessetup-changed
0.1.0.12013-12-26 14:30 UTCjfeltz+89/−36 lines, 3 filesdep ~QuickCheck
0.1.0.02013-10-14 23:49 UTCjfeltz+152/−0 lines, 4 filesdep +QuickCheckdep +basedep +mtl

Dependencies of quickcheck-property-comb-0.1.0.2

QuickCheck >=2.5 && <=2.6 2.6 → 2.19.0.0 newer than bounds
2026-09-16 11:18 UTC2.19.0.0 newer than bounds+67/−41 lines, 10 filesdep +OneTuplePVP ok
2026-02-26 12:42 UTC2.18.0.0 newer than bounds+826/−542 lines, 23 filesPVP ok
2025-10-13 12:40 UTC2.17.1.0 newer than bounds+18/−8 lines, 4 filesdep ~randomPVP: major bump suggested
2025-10-07 12:26 UTC2.17.0.0 newer than bounds+667/−129 lines, 14 filesdep +data-array-bytedep +hintdep +splitdep −ghc-primdep −old-localedep −old-timedep ~basedep ~randomdep ~template-haskellPVP ok
2025-06-17 07:53 UTC2.16.0.0 newer than bounds+477/−86 lines, 15 filesdep ~basenew-uploaderPVP ok

showing 5 of 66 versions

base >=4.5 && <4.6 4.5.1.0 → 4.22.1.0 newer than bounds
2026-12-01 12:38 UTC4.22.1.0 newer than bounds+388/−6 lines, 9 filesdep ~ghc-internalPVP: major bump suggested
2025-12-19 11:52 UTC4.22.0.0 newer than bounds+886/−215 lines, 28 filesdep ~ghc-internalPVP ok
2026-03-27 12:26 UTC4.21.2.0 newer than bounds+10/−3 lines, 4 filesdep ~ghc-internalPVP ok
2025-12-27 10:31 UTC4.21.1.0 newer than bounds+17/−5 lines, 4 filesdep ~ghc-internalPVP ok
2024-12-16 09:24 UTC4.21.0.0 newer than bounds+1170/−396 lines, 39 filesdep ~ghc-internalPVP ok

showing 5 of 61 versions

mtl >=2.1 && <2.2 2.1.3.1 → 2.3.2 newer than bounds
2025-12-08 04:58 UTC2.3.2 newer than bounds+112/−21 lines, 12 filesdep ~basenew-uploaderPVP: major bump suggested
2022-10-31 21:28 UTC2.3.1 newer than bounds+188/−33 lines, 8 filesdep ~basePVP: major bump suggested
2022-05-07 20:34 UTC2.3 newer than bounds+1284/−520 lines, 29 filesdep ~basedep ~transformersnew-uploaderPVP ok
2018-02-24 22:15 UTC2.2.2 newer than bounds+152/−36 lines, 14 filesdep ~basePVP: major bump suggested
2014-06-02 02:22 UTC2.2.1 newer than bounds+179/−4 lines, 8 filesdep ~basedep ~transformersPVP: major bump suggested

showing 5 of 20 versions

Reverse dependencies

2 packages depend on quickcheck-property-comb

acme-everything 2018.11.18 requires quickcheck-property-comb >=0
tasty-integrate 0.0.1 requires quickcheck-property-comb >=0