The test-invariant package

[Tags:benchmark, bsd3, library, test]

test-invariant is a library for providing common invariants of functions as higher order polymorphic functions. This reduces for a lot of cases the need for writing prop_ functions for QuickCheck.

>> quickCheck $ idempotent (abs :: Int -> Int)
>> quickCheck $ involutory not
>> quickCheck $ not . involutory (+ (2 :: Int))


Dependencies base (==4.*), QuickCheck [details]
License BSD3
Copyright 2015 Florian Knupfer
Author Florian Knupfer <>
Maintainer Florian Knupfer <>
Category Testing
Home page
Source repository head: git clone
Uploaded Fri May 22 15:35:38 UTC 2015 by knupfer
Distributions LTSHaskell:, NixOS:, Tumbleweed:
Downloads 725 total (17 in the last 30 days)
0 []
Status Docs available [build log]
Last success reported on 2015-05-23 [all 1 reports]
Hackage Matrix CI




Maintainer's Corner

For package maintainers and hackage trustees