quickcheck-silent 0.11.0.8 → 0.11.0.9
raw patch · 4 files changed
+147/−18 lines, 4 filesdep ~QuickCheckPVP: minor bump suggested
API additions: PVP suggests at least a minor version bump
Dependency ranges changed: QuickCheck
API changes (from Hackage documentation)
+ Test.QuickCheck.Silent: withNumTests :: Testable prop => Int -> prop -> SilentProp
Files
- CHANGELOG.md +43/−0
- README.md +95/−11
- quickcheck-silent.cabal +5/−4
- src/Test/QuickCheck/Silent.hs +4/−3
CHANGELOG.md view
@@ -1,5 +1,48 @@ # Revision history for quickcheck-silent +## 0.11.0.9 -- 2026-08-14++* Feedback from `#nixos` on [Libera](https://libera.chat/) helped us realize that we can+ override which version of `QuickCheck` is available for `quickcheck-silent` by+ doing the following in a `nix-shell` sandbox:+ ```nix+ with import <nixpkgs> {};+ + let+ qcs-ver = "0.11.0.8"; + qcs-sha = "7WD7706RaMQoVpooHBJLlsBoGfSCoF3mVZEm3O+XZ5g=";+ + hpkgs984 = haskell.packages.ghc984.extend (+ self: super: {+ + qcs011 = self.callHackageDirect { + pkg = "quickcheck-silent"; + ver = qcs-ver; + sha256 = qcs-sha;+ } { QuickCheck = haskell.packages.ghc984.QuickCheck_2_18_0_0; };+ }+ );+ in+ mkShell {+ buildInputs = [+ # NOTE: ghc-9.8.4 is used by Hackage+ ( hpkgs984.ghcWithPackages (+ pkgs: [+ pkgs.qcs011+ pkgs.stylish-haskell+ pkgs.haskell-language-server+ ]+ )+ )+ ];+ packages = [+ …+ ];+ }+ ```++* Hopefully this approach might help, otherwise, we are reverting back again.+ ## 0.11.0.8 -- 2026-08-08 * Only support versions that are recommended for use:
README.md view
@@ -1,23 +1,107 @@ quickcheck-silent-======+================= -[](https://hackage.haskell.org/package/quickcheck-silent)+[][hackage-shield] Testing with [QuickCheck][hackage-quickcheck] in silence. +[hackage-shield]: https://hackage.haskell.org/package/quickcheck-silent [hackage-quickcheck]: https://hackage.haskell.org/package/QuickCheck Project structure ================= ```sh-|-- src-| `-- Test-| `-- QuickCheck-| `-- Silent.hs-|-- CHANGELOG.md-|-- LICENSE.txt-|-- README.md-|-- Setup.hs-`-- quickcheck-silent.cabal+├── src+│ └── Test+│ └── QuickCheck+│ └── Silent.hs+├── CHANGELOG.md+├── LICENSE.txt+├── README.md+├── Setup.hs+└── quickcheck-silent.cabal+```++Project dependencies+====================++## Tree++```+quickcheck-silent-0.11.0.9+ ├─ QuickCheck-2.18.0.0+ │ ├─ base-4.19.2.0+ │ │ ├─ ghc-bignum-1.3+ │ │ │ └─ ghc-prim-0.11.0+ │ │ │ └─ rts-1.0.2+ │ │ ├─ ghc-prim-0.11.0 ┄┄+ │ │ └─ rts-1.0.2 ┄┄+ │ ├─ containers-0.6.8+ │ │ ├─ array-0.5.8.0+ │ │ │ └─ base-4.19.2.0 ┄┄+ │ │ ├─ base-4.19.2.0 ┄┄+ │ │ ├─ deepseq-1.5.1.0+ │ │ │ ├─ base-4.19.2.0 ┄┄+ │ │ │ └─ ghc-prim-0.11.0 ┄┄+ │ │ └─ template-haskell-2.21.0.0+ │ │ ├─ base-4.19.2.0 ┄┄+ │ │ ├─ ghc-boot-th-9.8.4+ │ │ │ └─ base-4.19.2.0 ┄┄+ │ │ ├─ ghc-prim-0.11.0 ┄┄+ │ │ └─ pretty-1.1.3.6+ │ │ ├─ base-4.19.2.0 ┄┄+ │ │ ├─ deepseq-1.5.1.0 ┄┄+ │ │ └─ ghc-prim-0.11.0 ┄┄+ │ ├─ deepseq-1.5.1.0 ┄┄+ │ ├─ random-1.2.1.3+ │ │ ├─ base-4.19.2.0 ┄┄+ │ │ ├─ bytestring-0.12.1.0+ │ │ │ ├─ base-4.19.2.0 ┄┄+ │ │ │ ├─ deepseq-1.5.1.0 ┄┄+ │ │ │ ├─ ghc-prim-0.11.0 ┄┄+ │ │ │ └─ template-haskell-2.21.0.0 ┄┄+ │ │ ├─ deepseq-1.5.1.0 ┄┄+ │ │ ├─ mtl-2.3.1+ │ │ │ ├─ base-4.19.2.0 ┄┄+ │ │ │ └─ transformers-0.6.1.0+ │ │ │ └─ base-4.19.2.0 ┄┄+ │ │ └─ splitmix-0.1.3.2+ │ │ ├─ base-4.19.2.0 ┄┄+ │ │ └─ deepseq-1.5.1.0 ┄┄+ │ ├─ splitmix-0.1.3.2 ┄┄+ │ ├─ template-haskell-2.21.0.0 ┄┄+ │ └─ transformers-0.6.1.0 ┄┄+ └─ base-4.19.2.0 ┄┄+```++## Direct deps++```+PkgId (PkgName "quickcheck-silent") (Ver [0,11,0,9])+CompNameLib+ QuickCheck-2.18.0.0+ base-4.19.2.0+```++## Topological sort++```+quickcheck-silent-0.11.0.9+QuickCheck-2.18.0.0+random-1.2.1.3+splitmix-0.1.3.2+mtl-2.3.1+transformers-0.6.1.0+bytestring-0.12.1.0+containers-0.6.8+template-haskell-2.21.0.0+pretty-1.1.3.6+ghc-boot-th-9.8.4+deepseq-1.5.1.0+array-0.5.8.0+base-4.19.2.0+ghc-bignum-1.3+ghc-prim-0.11.0+rts-1.0.2 ```
quickcheck-silent.cabal view
@@ -10,7 +10,7 @@ build-type: Simple name: quickcheck-silent-version: 0.11.0.8+version: 0.11.0.9 synopsis: Testing with QuickCheck in silence description: Testing with QuickCheck in silence. For more info see README.md@@ -56,9 +56,9 @@ Haskell2010 build-depends: -- Prelude- base >= 4 && < 5+ base >= 4 && < 5 -- Test- , QuickCheck >= 2.1 && < 3+ , QuickCheck >= 2.18 && < 3 ghc-options: -------------------------------------------------------------------------- -- GHC 9.10.3 Users Guide@@ -130,7 +130,8 @@ if impl(ghc >= 9.10 && < 9.15) ghc-options: -- Base- -- NOTE: Issue with Hackage that builds with 9.8.4. 9.10.x requies this:+ -- NOTE: Issue with Hackage that builds with 9.8.4. 9.10.x and greater,+ -- requies this: -trust=ghc-internal library
src/Test/QuickCheck/Silent.hs view
@@ -19,7 +19,7 @@ ( -- * Property without IO SilentProp () , silent- -- , Test.QuickCheck.Silent.withNumTests+ , Test.QuickCheck.Silent.withNumTests -- * Running tests , Result(..) , quickCheckSilent@@ -36,6 +36,7 @@ , property , quickCheckWithResult , stdArgs+ , withNumTests ) --------------------------------------------------------------------------------@@ -56,6 +57,8 @@ {- +-}+ -- | Configures how many times a silent property will be tested. -- -- For example,@@ -70,8 +73,6 @@ -> SilentProp withNumTests n = SilentProp . Test.QuickCheck.withNumTests n---} --------------------------------------------------------------------------------