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 Hedgehog and, optionally,
Tasty.
Synopsis
- testLaws :: TestName -> (forall a. m a -> PropertyT IO a) -> Laws m -> TestTree
- toProperty :: (forall a. m a -> PropertyT IO a) -> Law m -> Property