packages feed

inspection-testing

GHC plugin to do inspection testing

view on Hackage

Some carefully crafted libraries make promises to their users beyond functionality and performance. Examples are: Fusion libraries promise intermediate data structures to be eliminated. Generic programming libraries promise that the generic implementation is identical to the hand-written one. Some libraries may promise allocation-free or branch-free code. Conventionally, the modus operandi in all these cases is that the library author manually inspects the (intermediate or final) code produced by the compiler. This is not only tedious, but makes it very likely that some change, either in the library itself or the surrounding eco-system, breaks the library’s promised without anyone noticing. This package provides a disciplined way of specifying such properties, and have them checked by the compiler. This way, this checking can be part of the ususal development cycle and regressions caught early. See the documentation in "Test.Inspection" or the project webpage for more examples and more information.
versionuploadeduploaderchanges
0.6.32026-01-17 15:12 UTClyxia+3227/−3218 lines, 24 filesdep −mtlsetup-changednew-uploaderPVP ok
0.6.22025-06-13 08:40 UTCJoachimBreitner1 revisions+159/−125 lines, 5 filesdep ~basedep ~ghcPVP ok
0.6.12025-06-11 21:55 UTCJoachimBreitner+160/−131 lines, 4 filesPVP ok
0.62025-01-01 19:38 UTCJoachimBreitner+41/−4 lines, 4 filesdep ~basePVP ok
0.5.0.32023-12-29 09:33 UTCJoachimBreitner3 revisions+29/−13 lines, 4 filesdep ~basedep ~ghcPVP ok
0.5.0.22023-07-10 21:02 UTCJoachimBreitner+11/−9 lines, 3 filesdep ~basedep ~ghcPVP ok
0.5.0.12023-01-15 20:06 UTCJoachimBreitner+64/−7 lines, 4 filesdep ~basedep ~ghcPVP ok
0.52022-06-15 09:06 UTCJoachimBreitner+370/−86 lines, 6 filesdep ~basePVP ok
0.4.6.12022-05-20 07:17 UTCJoachimBreitner+16/−17 lines, 3 filesdep ~basedep ~ghcPVP ok
0.4.6.02021-08-23 12:46 UTCJoachimBreitner+37/−14 lines, 4 filesdep ~basedep ~ghcPVP ok
0.4.5.02021-04-28 06:16 UTCJoachimBreitner+34/−23 lines, 5 filesPVP ok
0.4.4.02021-04-21 17:16 UTCJoachimBreitner+42/−4 lines, 5 filesdep ~basePVP ok
0.4.3.02021-02-17 14:26 UTCJoachimBreitner+197/−90 lines, 9 filesdep ~basedep ~generic-lensdep ~ghcPVP: major bump suggested
0.4.2.42020-04-10 13:04 UTCJoachimBreitner+111/−36 lines, 5 filesdep ~basedep ~ghcPVP: major bump suggested
0.4.2.22019-09-02 16:23 UTCJoachimBreitner+15/−15 lines, 1 filesdep ~basedep ~ghcPVP ok
0.4.2.12019-06-07 07:44 UTCJoachimBreitner+34/−1 lines, 4 filesPVP ok
0.4.22019-06-05 13:16 UTCJoachimBreitner+966/−55 lines, 6 filesPVP ok
0.4.1.22019-02-24 00:18 UTCJoachimBreitner+34/−15 lines, 4 filesPVP: minor bump suggested
0.4.1.12018-11-17 14:34 UTCJoachimBreitner+25/−19 lines, 5 filesPVP: major bump suggested
0.4.12018-11-17 13:20 UTCJoachimBreitner+921/−826 lines, 10 filesPVP ok
0.42018-10-12 14:54 UTCJoachimBreitner+56/−119 lines, 15 filesPVP ok
0.32018-07-07 13:27 UTCJoachimBreitner1 revisions+327/−115 lines, 15 filesdep ~basedep ~ghcPVP ok
0.2.0.12018-02-02 05:52 UTCJoachimBreitner+15/−6 lines, 4 filesdep ~ghcPVP ok
0.22018-01-18 01:41 UTCJoachimBreitner+202/−58 lines, 6 filesPVP ok
0.1.22017-11-20 23:47 UTCJoachimBreitner+87/−34 lines, 5 filesdep +mtldep +transformersdep ~generic-lensPVP ok
0.1.1.22017-11-12 20:31 UTCJoachimBreitner+17/−12 lines, 4 filesPVP ok
0.1.1.12017-11-12 20:17 UTCJoachimBreitner+100/−51 lines, 4 filesPVP: minor bump suggested
0.1.12017-11-12 04:50 UTCJoachimBreitner+146/−34 lines, 6 filesPVP: major bump suggested
0.12017-11-09 23:57 UTCJoachimBreitner+921/−0 lines, 14 filesdep +basedep +bytestringdep +containerssetup-changed

Dependencies of inspection-testing-0.6.3

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

showing 5 of 61 versions

bytestring >=0 0.12.1.0 → 0.12.2.0
2024-12-06 21:41 UTC0.12.2.0+538/−437 lines, 44 filesdep ~QuickCheckdep ~basePVP ok
2024-02-16 03:27 UTC0.12.1.0+3398/−1642 lines, 37 filesdep +sybdep ~basePVP: major bump suggested
2023-08-16 01:53 UTC0.12.0.2+16/−2 lines, 3 files
2023-08-05 00:03 UTC0.12.0.1+47/−9 lines, 3 files
2023-07-07 01:45 UTC0.12.0.0+1459/−520 lines, 21 filesdep +data-array-bytePVP ok

showing 5 of 49 versions

containers >=0 0.8 → 0.8.1
2026-10-04 06:08 UTC0.8.1+8085/−5169 lines, 39 filesdep +template-haskell-liftdep ~arraydep ~deepseqPVP: major bump suggested
2025-03-01 13:03 UTC0.8+8447/−7031 lines, 37 filesnew-uploaderPVP ok
2023-09-27 12:15 UTC0.7+76/−33 lines, 3 filesPVP ok
2023-09-28 04:21 UTC0.6.8+644/−184 lines, 17 filesdep ~basedep ~deepseqPVP: major bump suggested
2023-02-01 03:11 UTC0.6.7+783/−229 lines, 20 filesPVP: major bump suggested

showing 5 of 43 versions

generic-lens ==2.1.0.0 2.1.0.0 → 2.3.0.0 newer than bounds
2025-08-27 18:55 UTC2.3.0.0 newer than bounds+169/−30 lines, 7 filesdep +mtldep −textdep ~basedep ~generic-lens-corenew-uploaderPVP ok
2023-04-15 15:02 UTC2.2.2.0 newer than bounds+68/−34 lines, 11 filesdep ~basedep ~textPVP: major bump suggested
2022-01-22 22:53 UTC2.2.1.0 newer than bounds+20/−16 lines, 10 filesdep ~generic-lens-coredep ~textPVP ok
2021-07-13 11:11 UTC2.2.0.0 newer than bounds+9/−6 lines, 5 filesdep ~generic-lens-corePVP ok
2021-01-25 16:52 UTC2.1.0.0+9/−2 lines, 3 filesdep ~generic-lens-corePVP ok

showing 5 of 21 versions

ghc >=8.0.2 && <9.15 9.14.1 → 9.14.2
2026-12-01 12:38 UTC9.14.2+9989/−5774 lines, 231 filesdep ~ghc-bootdep ~ghc-boot-thdep ~ghc-boot-th-nextPVP: major bump suggested
2025-12-19 11:51 UTC9.14.1+94968/−73927 lines, 535 filesdep +ghc-internaldep ~basedep ~containersdep ~ghc-bootsetup-changedPVP ok
2026-03-27 12:26 UTC9.12.4+3128/−1766 lines, 79 filesdep +rtsdep ~ghc-bootdep ~ghc-boot-thdep ~ghc-boot-th-nextPVP: major bump suggested
2025-12-27 10:29 UTC9.12.3+6833/−5245 lines, 117 filesdep ~ghc-bootdep ~ghc-boot-thdep ~ghc-boot-th-nextPVP: major bump suggested
2025-06-16 15:02 UTC9.12.2+182/−697 lines, 17 filesdep ~ghc-bootdep ~ghc-boot-thdep ~ghc-boot-th-nextPVP: major bump suggested

showing 5 of 51 versions

template-haskell >=0 2.23.0.0 → 2.24.0.0
2025-12-19 11:53 UTC2.24.0.0+606/−68 lines, 9 filesdep +ghc-internaldep ~basedep ~ghc-boot-thPVP ok
2024-12-16 09:29 UTC2.23.0.0+104/−5685 lines, 9 filesdep −ghc-primdep −prettydep ~basedep ~ghc-boot-thnew-uploaderPVP ok
2024-05-15 13:07 UTC2.22.0.0+176/−81 lines, 7 filesdep ~basedep ~ghc-boot-thPVP ok
2023-10-10 00:23 UTC2.21.0.0+275/−148 lines, 7 filesdep ~basedep ~ghc-boot-thPVP ok
2023-03-28 13:43 UTC2.20.0.0+215/−139 lines, 9 filesdep −filepathdep ~basedep ~ghc-boot-thPVP ok

showing 5 of 26 versions

text ==1.2.2.2 1.2.2.2 → 2.1.5 newer than bounds
2026-11-27 23:30 UTC2.1.5 newer than bounds+33786/−32979 lines, 58 filesPVP: major bump suggested
2026-01-28 08:30 UTC2.1.4 newer than bounds+30991/−20199 lines, 35 filesdep +template-haskell-liftdep ~QuickCheckdep ~template-haskellPVP ok
2025-08-01 20:08 UTC2.1.3 newer than bounds+2107/−1827 lines, 30 filesdep +splitmixdep +temporarydep ~QuickCheckdep ~ghc-primdep ~template-haskellPVP ok
2024-10-26 13:22 UTC2.1.2 newer than bounds+43588/−15378 lines, 41 filesdep ~basedep ~binaryPVP: major bump suggested
2024-02-16 22:16 UTC2.1.1 newer than bounds+986/−412 lines, 26 filesdep ~QuickCheckdep ~ghc-primdep ~template-haskellPVP: major bump suggested

showing 5 of 83 versions

transformers >=0 0.6.2.0 → 0.6.3.0
2026-01-12 12:42 UTC0.6.3.0+28/−1 lines, 4 filesPVP: major bump suggested
2025-04-06 22:39 UTC0.6.2.0+41/−42 lines, 8 filesdep ~ghc-primPVP: major bump suggested
2024-09-25 11:37 UTC0.6.1.2+70/−21 lines, 19 filesPVP: minor bump suggested
2023-08-01 19:13 UTC0.6.1.1+281/−42 lines, 11 filesPVP ok
2023-02-04 08:15 UTC0.6.1.0+64/−4 lines, 8 filesPVP ok

showing 5 of 42 versions

Reverse dependencies

38 packages depend on inspection-testing; 4 have bounds that exclude 0.6.3

generic-labels 0.1.0.1 requires inspection-testing >=0.4 && <0.5 excludes current (upper bound)
loopbreaker 0.1.1.1 requires inspection-testing >=0.4.2.1 && <0.5 excludes current (upper bound)
optics 0.4.2.1 requires inspection-testing >=0.5 && <0.6 excludes current (upper bound)
prolens 0.0.0.1 requires inspection-testing >=0.4 && <0.5 excludes current (upper bound)
acme-everything 2018.11.18 requires inspection-testing >=0
aeson-modern-tojson 0.2.0.0 requires inspection-testing >=0.4.4.0 && <1.0
algebraic-graphs 0.8 requires inspection-testing >=0.4.2.2 && <0.7
ap-normalize 0.1.0.1 requires inspection-testing >=0
data-elevator 0.3 requires inspection-testing >=0
fin 0.3.2 requires inspection-testing >=0.2.0.1 && <0.7
fused-effects 1.1.2.7 requires inspection-testing >=0.4 && <0.7
generic-data 1.1.0.2 requires inspection-testing >=0
generic-lens 2.3.0.0 requires inspection-testing >=0.2
generic-optics 2.3.0.0 requires inspection-testing >=0.2
generic-random 1.5.0.1 requires inspection-testing >=0
ghc-justdoit 0.1.0.2 requires inspection-testing >=0
hkt 0.0.1 requires inspection-testing >=0
horde-ad 0.3.0.0 requires inspection-testing <0.7
large-hashable 0.1.3.0 requires inspection-testing >=0
linear-base 0.8.1 requires inspection-testing >=0
mockcat 1.5.0.0 requires inspection-testing >=0.4 && <0.7
named 0.4.0.0 requires inspection-testing >=0
nano-ui 0.2.0.0 requires inspection-testing >=0.6 && <0.7
papa 0.7.0 requires inspection-testing >=0.5 && <0.7
penelope-core 0.1.0.0 requires inspection-testing >=0.5 && <0.7
polysemy 1.9.2.0 requires inspection-testing >=0.4.2 && <0.7
polysemy-plugin 0.4.6.0 requires inspection-testing >=0.4.2 && <0.7
postgresql-simple 0.7.0.1 requires inspection-testing >=0.4.1.1 && <0.7
prospect 0.1.0.0 requires inspection-testing >=0.3
sized 1.1.0.2 requires inspection-testing >=0.4 && <0.7
stock 0.1.0.2 requires inspection-testing >=0
stock-deepseq 0.1.0.0 requires inspection-testing >=0
stock-hashable 0.1.0.0 requires inspection-testing >=0
streamly 0.11.1 requires inspection-testing >=0.4 && <0.7
subcategories 0.2.1.2 requires inspection-testing >=0
tasty-inspection-testing 0.2.1 requires inspection-testing >=0.5 && <0.7
vec 0.5.1.1 requires inspection-testing >=0.5.0.3 && <0.7
yamlet 1.0.0.2 requires inspection-testing >=0