Copyright | 2018 Automattic Inc. |
---|---|
License | BSD3 |
Maintainer | Nathan Bloomfield (nbloomf@gmail.com) |
Stability | experimental |
Portability | POSIX |
Safe Haskell | None |
Language | Haskell2010 |
Documentation
testMonoidLaws :: (Monoid a, Eq a, Show a, Arbitrary a, Typeable a) => Proxy a -> TestTree Source #
Constructs a TestTree
checking that the Monoid
class laws hold for a
.