less-arbitrary
Linear time testing with variant of Arbitrary class that always terminates.
Ever found non-terminating Arbitrary instance?
Ever wondered what would be a runtime cost of particular Arbitrary instance?
Never let it bother you again:
this variant of Arbitrary is automatically generating instances, and allows you to see predictable linear time generators
for most types (providing that you have any terminating constructor, that is constructor that does not go deeper into the data structure.)
Usage:
> import Test.LessArbitrary
>
> data MyDataType = ...
> deriving (Show, Generic)
>
> instance LessArbitrary MyDataType
> instance Arbitrary where
> arbitrary = fasterArbitrary
| version | uploaded | uploader | changes | |
|---|---|---|---|---|
| 0.1.8.0 files | 2023-03-11 22:32 UTC | MichalGajda | +187/−133 lines, 4 filesdep ~basePVP: major bump suggested | |
| 0.1.7.0 files | 2021-01-12 16:49 UTC | MichalGajda | +6/−2 lines, 2 filesPVP ok | |
| 0.1.6.0 files | 2021-01-12 16:42 UTC | MichalGajda | +12/−2 lines, 2 filesPVP ok | |
| 0.1.5.0 files | 2021-01-12 16:39 UTC | MichalGajda | +93/−58 lines, 6 filesPVP ok | |
| 0.1.4.0 files | 2020-12-13 01:23 UTC | MichalGajda | +24/−8 lines, 3 filesPVP: major bump suggested | |
| 0.1.3.0 files | 2020-12-13 01:04 UTC | MichalGajda | +13/−2 lines, 3 filesPVP ok | |
| 0.1.2.0 files | 2020-12-13 00:44 UTC | MichalGajda | +61/−12 lines, 3 filesPVP ok | |
| 0.1.1.0 files | 2020-12-13 00:27 UTC | MichalGajda | +23/−5 lines, 3 filesPVP: major bump suggested | |
| 0.1.0.2 files | 2020-11-04 14:33 UTC | MichalGajda | +44/−28 lines, 3 filesdep +email-validatedep +genvaliditydep +genvalidity-hspecPVP ok | |
| 0.1.0.1 files | 2020-10-17 18:04 UTC | MichalGajda | +14/−22 lines, 2 filesdep −email-validatedep −genvaliditydep −genvalidity-hspecPVP ok | |
| 0.1.0.0 files | 2020-10-17 17:58 UTC | MichalGajda | +610/−0 lines, 8 filesdep +QuickCheckdep +basedep +containerssetup-changed |
Dependencies of less-arbitrary-0.1.8.0
QuickCheck >=0 2.18.0.0 → 2.19.0.0
| 2026-09-16 11:18 UTC | 2.19.0.0 | +67/−41 lines, 10 filesdep +OneTuplePVP ok |
| 2026-02-26 12:42 UTC | 2.18.0.0 | +826/−542 lines, 23 filesPVP ok |
| 2025-10-13 12:40 UTC | 2.17.1.0 | +18/−8 lines, 4 filesdep ~randomPVP: major bump suggested |
| 2025-10-07 12:26 UTC | 2.17.0.0 | +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 UTC | 2.16.0.0 | +477/−86 lines, 15 filesdep ~basenew-uploaderPVP ok |
showing 5 of 66 versions
base >=4.5 && <=4.17 4.16.4.0 → 4.22.1.0 newer than bounds
| 2026-12-01 12:38 UTC | 4.22.1.0 HSEC-2023-0007 newer than bounds | +388/−6 lines, 9 filesdep ~ghc-internalPVP: major bump suggested |
| 2025-12-19 11:52 UTC | 4.22.0.0 HSEC-2023-0007 newer than bounds | +886/−215 lines, 28 filesdep ~ghc-internalPVP ok |
| 2026-03-27 12:26 UTC | 4.21.2.0 HSEC-2023-0007 newer than bounds | +10/−3 lines, 4 filesdep ~ghc-internalPVP ok |
| 2025-12-27 10:31 UTC | 4.21.1.0 HSEC-2023-0007 newer than bounds | +17/−5 lines, 4 filesdep ~ghc-internalPVP ok |
| 2024-12-16 09:24 UTC | 4.21.0.0 HSEC-2023-0007 newer than bounds | +1170/−396 lines, 39 filesdep ~ghc-internalPVP ok |
showing 5 of 61 versions
containers >=0 0.8 → 0.8.1
| 2026-10-04 06:08 UTC | 0.8.1 | +8085/−5169 lines, 39 filesdep +template-haskell-liftdep ~arraydep ~deepseqPVP: major bump suggested |
| 2025-03-01 13:03 UTC | 0.8 | +8447/−7031 lines, 37 filesnew-uploaderPVP ok |
| 2023-09-27 12:15 UTC | 0.7 | +76/−33 lines, 3 filesPVP ok |
| 2023-09-28 04:21 UTC | 0.6.8 | +644/−184 lines, 17 filesdep ~basedep ~deepseqPVP: major bump suggested |
| 2023-02-01 03:11 UTC | 0.6.7 | +783/−229 lines, 20 filesPVP: major bump suggested |
showing 5 of 43 versions
email-validate >=0 2.3.2.20 → 2.3.2.21
| 2024-09-21 20:46 UTC | 2.3.2.21 | +4/−4 lines, 1 filesdep ~QuickCheckdep ~template-haskellPVP ok |
| 2024-02-22 19:48 UTC | 2.3.2.20 | +3/−3 lines, 1 filesdep ~template-haskellPVP ok |
| 2023-07-26 21:13 UTC | 2.3.2.19 | +6/−25 lines, 2 filesdep −doctestdep ~basedep ~bytestringdep ~hspecPVP ok |
| 2022-11-23 21:37 UTC | 2.3.2.18 | +3/−3 lines, 1 filesdep ~hspecPVP ok |
| 2022-11-23 21:10 UTC | 2.3.2.17 | +795/−800 lines, 8 filesdep ~doctestdep ~template-haskellsetup-changedPVP ok |
showing 5 of 45 versions
generic-arbitrary >=0 1.0.1.1 → 1.0.1.2
| 2025-04-16 15:20 UTC | 1.0.1.2 | +25/−13 lines, 5 filesdep ~QuickCheckdep ~basedep ~tastyPVP ok |
| 2025-04-07 22:00 UTC | 1.0.1.1 | +34/−2 lines, 4 filesdep ~QuickCheckdep ~basedep ~deepseqnew-uploaderPVP: major bump suggested |
| 2022-08-24 17:24 UTC | 1.0.1 | +12/−3 lines, 3 filesdep ~basedep ~deepseqdep ~tastyPVP ok |
| 2022-08-12 07:36 UTC | 1.0.0 | +771/−44 lines, 10 filesdep +deepseqdep +generic-arbitrarydep +tastydep ~QuickCheckdep ~basenew-uploaderPVP ok |
| 2022-05-05 05:21 UTC | 0.2.2 | +12/−4 lines, 3 filesPVP ok |
showing 5 of 8 versions
genvalidity >=0 1.1.1.0 → 1.1.2.0
| 2026-11-26 15:22 UTC | 1.1.2.0 | +17/−6 lines, 5 filesdep ~validitysetup-changedPVP: major bump suggested |
| 2024-07-18 15:40 UTC | 1.1.1.0 | +62/−26 lines, 6 filesdep ~validityPVP: major bump suggested |
| 2022-08-30 12:34 UTC | 1.1.0.0 | +127/−57 lines, 5 filesPVP ok |
| 2021-12-02 14:44 UTC | 1.0.0.1 | +14/−8 lines, 3 filesPVP ok |
| 2021-11-20 15:57 UTC | 1.0.0.0 | +329/−942 lines, 10 filesdep ~QuickCheckdep ~basedep ~randomsetup-changed |
showing 5 of 37 versions
genvalidity-hspec >=0 1.0.0.3 → 1.0.0.4
| 2025-05-09 07:45 UTC | 1.0.0.4 | +25/−15 lines, 6 filesPVP: major bump suggested |
| 2023-10-04 12:52 UTC | 1.0.0.3 | +164/−139 lines, 9 filesPVP: major bump suggested |
| 2022-09-20 11:16 UTC | 1.0.0.2 | +10/−1 lines, 3 files |
| 2022-09-09 08:19 UTC | 1.0.0.1 | +10/−2 lines, 2 files |
| 2021-11-20 15:59 UTC | 1.0.0.0 | +1364/−1778 lines, 28 filesdep ~genvaliditydep ~hspec-coresetup-changedPVP ok |
showing 5 of 31 versions
genvalidity-property >=0 0.5.0.1 → 1.0.0.0
| 2021-11-20 15:58 UTC | 1.0.0.0 | +1129/−1685 lines, 28 filesdep −directorydep −doctestdep −filepathdep ~basedep ~genvaliditydep ~hspecsetup-changedPVP ok |
| 2019-09-23 08:53 UTC | 0.5.0.1 | +50/−4 lines, 3 filesPVP ok |
| 2019-09-23 08:13 UTC | 0.5.0.0 | +21/−12 lines, 4 filesdep +pretty-showPVP ok |
| 2019-03-08 08:45 UTC | 0.4.0.0 | +7/−4 lines, 2 filesPVP ok |
| 2018-11-07 10:00 UTC | 0.3.0.0 | +37/−36 lines, 7 filesdep ~directorydep ~filepathdep ~genvalidityPVP ok |
showing 5 of 12 versions
hashable >=0 1.5.0.0 → 1.5.1.0
| 2026-01-02 17:45 UTC | 1.5.1.0 | +7260/−6790 lines, 5 filesdep −HUnitdep −ghc-bignumdep −randomdep ~basedep ~containersPVP: major bump suggested |
| 2024-07-04 19:38 UTC | 1.5.0.0 | +50/−156 lines, 4 filesdep −base-orphansdep −ghc-bignum-orphansdep −integer-gmpdep ~QuickCheckdep ~basedep ~bytestringPVP ok |
| 2024-06-24 10:44 UTC | 1.4.7.0 | +8/−3 lines, 2 filesPVP ok |
| 2024-06-09 19:43 UTC | 1.4.6.0 | +60/−83 lines, 7 filesdep −test-frameworkdep −test-framework-hunitdep −test-framework-quickcheck2PVP ok |
| 2024-06-08 14:07 UTC | 1.4.5.0 | +7338/−256 lines, 15 filesdep +primitivedep +tastydep +tasty-hunitdep ~basedep ~bytestringdep ~containersPVP ok |
showing 5 of 52 versions
hspec >=0 2.11.17 → 2.11.18
| 2026-10-01 14:14 UTC | 2.11.18 | +7/−4 lines, 3 filesdep ~hspec-coredep ~hspec-discoverPVP ok |
| 2026-03-04 18:01 UTC | 2.11.17 | +11/−19 lines, 6 filesdep ~hspec-coredep ~hspec-discoverPVP ok |
| 2025-12-12 14:07 UTC | 2.11.16 | +25/−7 lines, 5 filesdep ~hspec-coredep ~hspec-discoverPVP: major bump suggested |
| 2025-12-08 03:04 UTC | 2.11.15 | +8/−5 lines, 3 filesdep ~hspec-coredep ~hspec-discoverPVP ok |
| 2025-09-30 14:32 UTC | 2.11.14 | +9/−7 lines, 4 filesdep ~hspec-coredep ~hspec-discoverPVP: major bump suggested |
showing 5 of 171 versions
mtl >=0 2.3.1 → 2.3.2
| 2025-12-08 04:58 UTC | 2.3.2 | +112/−21 lines, 12 filesdep ~basenew-uploaderPVP: major bump suggested |
| 2022-10-31 21:28 UTC | 2.3.1 | +188/−33 lines, 8 filesdep ~basePVP: major bump suggested |
| 2022-05-07 20:34 UTC | 2.3 deprecated | +1284/−520 lines, 29 filesdep ~basedep ~transformersnew-uploaderPVP ok |
| 2018-02-24 22:15 UTC | 2.2.2 | +152/−36 lines, 14 filesdep ~basePVP: major bump suggested |
| 2014-06-02 02:22 UTC | 2.2.1 | +179/−4 lines, 8 filesdep ~basedep ~transformersPVP: major bump suggested |
showing 5 of 20 versions
quickcheck-classes >=0 0.6.4.0 → 0.6.5.0
| 2021-04-12 11:35 UTC | 0.6.5.0 | +53/−22 lines, 4 filesdep −bifunctorsdep −contravariantdep ~base-orphansdep ~primitivedep ~quickcheck-classes-basePVP: major bump suggested |
| 2019-09-13 16:40 UTC | 0.6.4.0 | +8/−2 lines, 3 filesdep ~semiringsPVP ok |
| 2019-08-08 17:32 UTC | 0.6.3.0 | +267/−3749 lines, 44 filesdep +quickcheck-classes-basedep ~primitivedep ~primitive-addrdep ~semiringssetup-changedPVP: major bump suggested |
| 2019-06-18 20:03 UTC | 0.6.2.2 deprecated | +271/−5 lines, 7 filesdep ~primitive-addrPVP: minor bump suggested |
| 2019-05-23 21:48 UTC | 0.6.2.1 | +8/−3 lines, 3 filesPVP ok |
showing 5 of 34 versions
quickcheck-instances >=0 0.3.33 → 0.4
| 2026-01-08 11:48 UTC | 0.4 | +29/−227 lines, 7 filesdep −OneTupledep ~QuickCheckdep ~arraydep ~basePVP ok |
| 2025-06-03 21:29 UTC | 0.3.33 | +25/−6 lines, 3 filesdep ~QuickCheckdep ~vectorPVP: major bump suggested |
| 2024-11-04 11:57 UTC | 0.3.32 | +25/−7 lines, 3 filesdep ~basePVP ok |
| 2024-05-16 22:12 UTC | 0.3.31 | +54/−235 lines, 26 filesdep −bytestring-builderdep −natsdep −semigroupsdep ~OneTupledep ~QuickCheckdep ~arrayPVP: major bump suggested |
| 2023-10-04 18:05 UTC | 0.3.30 | +46/−17 lines, 3 filesdep ~basedep ~bytestringdep ~primitivePVP ok |
showing 5 of 42 versions
random >=0 1.3.0 → 1.3.1
| 2025-04-04 14:25 UTC | 1.3.1 | +15/−6 lines, 3 filesPVP ok |
| 2025-01-06 04:03 UTC | 1.3.0 | +2410/−538 lines, 16 filesdep +data-array-bytedep ~basedep ~transformersPVP ok |
| 2024-12-14 20:31 UTC | 1.2.1.3 | +22/−37 lines, 3 filesdep −doctestdep −mwc-randomdep −unliftiodep ~basedep ~containersdep ~primitivePVP ok |
| 2024-02-04 16:26 UTC | 1.2.1.2 | +17/−12 lines, 2 filesdep ~doctestdep ~tastyPVP: major bump suggested |
| 2022-05-09 02:32 UTC | 1.2.1.1 | +8/−9 lines, 3 filesdep −ghc-byteorderdep ~bytestringdep ~doctestdep ~mtlPVP ok |
showing 5 of 15 versions
scientific >=0 0.3.9.0 → 0.3.10.0
| 2026-10-21 15:50 UTC | 0.3.10.0 | +58/−10 lines, 5 filesPVP ok |
| 2026-09-27 09:36 UTC | 0.3.9.0 HSEC-2026-0012 | +213/−158 lines, 4 filesdep −smallcheckdep −tasty-smallcheckPVP ok |
| 2026-01-05 13:02 UTC | 0.3.8.1 HSEC-2026-0011 | +35/−39 lines, 4 filesdep ~basedep ~containersdep ~template-haskellPVP: major bump suggested |
| 2024-05-14 10:23 UTC | 0.3.8.0 HSEC-2026-0011 | +23/−101 lines, 6 filesdep −bytestring-builderdep ~basedep ~binarydep ~bytestringPVP: major bump suggested |
| 2021-05-20 18:39 UTC | 0.3.7.0 HSEC-2026-0011 | +258/−126 lines, 9 filesdep +invalid-cabal-flag-settingsdep +template-haskelldep −tasty-ant-xmldep ~QuickCheckdep ~basedep ~binarynew-uploaderPVP: major bump suggested |
showing 5 of 52 versions
text >=0 2.1.4 → 2.1.5
| 2026-11-27 23:30 UTC | 2.1.5 | +33786/−32979 lines, 58 filesPVP: major bump suggested |
| 2026-01-28 08:30 UTC | 2.1.4 | +30991/−20199 lines, 35 filesdep +template-haskell-liftdep ~QuickCheckdep ~template-haskellPVP ok |
| 2025-08-01 20:08 UTC | 2.1.3 | +2107/−1827 lines, 30 filesdep +splitmixdep +temporarydep ~QuickCheckdep ~ghc-primdep ~template-haskellPVP ok |
| 2024-10-26 13:22 UTC | 2.1.2 | +43588/−15378 lines, 41 filesdep ~basedep ~binaryPVP: major bump suggested |
| 2024-02-16 22:16 UTC | 2.1.1 | +986/−412 lines, 26 filesdep ~QuickCheckdep ~ghc-primdep ~template-haskellPVP: major bump suggested |
showing 5 of 83 versions
time >=0 1.16 → 1.16.0.1
| 2026-07-20 21:55 UTC | 1.16.0.1 | +1203/−148 lines, 25 filesPVP ok |
| 2026-05-03 08:43 UTC | 1.16 | +353/−64 lines, 29 filesdep +template-haskell-liftdep ~template-haskellPVP ok |
| 2025-08-04 16:22 UTC | 1.15 | +1407/−743 lines, 56 filesdep ~basedep ~deepseqdep ~template-haskellPVP ok |
| 2024-03-10 22:18 UTC | 1.14 | +6594/−5536 lines, 73 filesdep +template-haskelldep ~basePVP ok |
| 2021-10-18 05:36 UTC | 1.13 deprecated | +1279/−1589 lines, 59 filesdep ~basePVP ok |
showing 5 of 48 versions
transformers >=0 0.6.2.0 → 0.6.3.0
| 2026-01-12 12:42 UTC | 0.6.3.0 | +28/−1 lines, 4 filesPVP: major bump suggested |
| 2025-04-06 22:39 UTC | 0.6.2.0 | +41/−42 lines, 8 filesdep ~ghc-primPVP: major bump suggested |
| 2024-09-25 11:37 UTC | 0.6.1.2 | +70/−21 lines, 19 filesPVP: minor bump suggested |
| 2023-08-01 19:13 UTC | 0.6.1.1 | +281/−42 lines, 11 filesPVP ok |
| 2023-02-04 08:15 UTC | 0.6.1.0 | +64/−4 lines, 8 filesPVP ok |
showing 5 of 42 versions
unordered-containers >=0 0.2.21 → 0.2.21.1
| 2026-11-30 10:13 UTC | 0.2.21.1 | +533/−177 lines, 9 filesPVP: major bump suggested |
| 2025-12-13 23:09 UTC | 0.2.21 deprecated HSEC-2026-0018 | +3999/−2731 lines, 20 filesdep −mtldep ~basedep ~bytestringdep ~deepseqPVP: major bump suggested |
| 2025-10-02 07:28 UTC | 0.2.20.1 deprecated HSEC-2026-0018 | +106/−52 lines, 12 filesPVP: major bump suggested |
| 2024-01-09 06:48 UTC | 0.2.20 deprecated HSEC-2026-0018 | +1023/−941 lines, 12 filesdep ~hashabledep ~template-haskellPVP: major bump suggested |
| 2022-04-24 15:48 UTC | 0.2.19.1 deprecated HSEC-2026-0018 | +88/−14 lines, 4 filesdep ~basedep ~template-haskellPVP: major bump suggested |
showing 5 of 44 versions
validity >=0 0.12.1.0 → 0.12.2.0
| 2026-11-26 15:22 UTC | 0.12.2.0 | +18/−2 lines, 4 filessetup-changedPVP: major bump suggested |
| 2024-07-18 15:39 UTC | 0.12.1.0 | +56/−18 lines, 3 filesPVP: major bump suggested |
| 2023-10-09 12:30 UTC | 0.12.0.2 | +16/−3 lines, 4 filesPVP: major bump suggested |
| 2022-04-26 20:01 UTC | 0.12.0.1 | +44/−2 lines, 4 filesdep ~basePVP ok |
| 2021-11-20 15:56 UTC | 0.12.0.0 | +89/−81 lines, 7 filesdep ~basesetup-changedPVP ok |
showing 5 of 31 versions
vector >=0 0.13.1.0 → 0.13.2.0
| 2024-10-31 18:01 UTC | 0.13.2.0 | +5177/−672 lines, 53 filesdep −HUnitdep ~QuickCheckdep ~basedep ~doctestPVP: major bump suggested |
| 2023-10-07 13:35 UTC | 0.13.1.0 | +302/−238 lines, 22 filesdep ~QuickCheckdep ~basedep ~doctestnew-uploaderPVP: major bump suggested |
| 2022-06-19 19:35 UTC | 0.13.0.0 | +19079/−19259 lines, 70 filesdep +tasty-benchdep +tasty-inspection-testingdep +vector-streamdep −faildep −ghc-primdep −semigroupsdep ~basedep ~doctestdep ~primitivePVP ok |
| 2021-09-21 16:21 UTC | 0.12.3.1 | +265/−191 lines, 13 filesdep ~basedep ~deepseqdep ~doctestPVP ok |
| 2021-04-06 19:54 UTC | 0.12.3.0 | +1218/−39 lines, 11 filesdep ~basedep ~ghc-primPVP ok |
showing 5 of 43 versions
Reverse dependencies
no known reverse dependencies