Copyright | (c) 2023 Nicolas Trangez |
---|---|
License | Apache-2.0 |
Maintainer | ikke@nicolast.be |
Stability | alpha |
Safe Haskell | Safe-Inferred |
Language | Haskell2010 |
Support code to check lawful-classes
laws using QuickCheck and,
optionally, Tasty.
Synopsis
- testLaws :: TestName -> (forall a. m a -> PropertyM IO a) -> Laws m -> TestTree
- toProperty :: (forall a. m a -> PropertyM IO a) -> Law m -> Property