| Copyright | (c) 2023 Nicolas Trangez |
|---|---|
| License | Apache-2.0 |
| Maintainer | ikke@nicolast.be |
| Stability | alpha |
| Safe Haskell | Safe-Inferred |
| Language | Haskell2010 |
Test.Lawful.Hedgehog
Description
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