Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
Documentation
class Monad m ⇒ MonadAssertion m where Source #
throwAssertion ∷ Failure → m a Source #
catchAssertion ∷ m a → (Failure → m a) → m a Source #
Instances
Monad m ⇒ MonadAssertion (PropertyT m) Source # | |
Defined in Hedgehog.Extras.Test.MonadAssertion throwAssertion ∷ Failure → PropertyT m a Source # catchAssertion ∷ PropertyT m a → (Failure → PropertyT m a) → PropertyT m a Source # | |
Monad m ⇒ MonadAssertion (TestT m) Source # | |
Defined in Hedgehog.Extras.Test.MonadAssertion throwAssertion ∷ Failure → TestT m a Source # catchAssertion ∷ TestT m a → (Failure → TestT m a) → TestT m a Source # | |
MonadAssertion m ⇒ MonadAssertion (ResourceT m) Source # | |
Defined in Hedgehog.Extras.Test.MonadAssertion throwAssertion ∷ Failure → ResourceT m a Source # catchAssertion ∷ ResourceT m a → (Failure → ResourceT m a) → ResourceT m a Source # |