effectful-zoo-0.0.1.0: Effectful effects for testing
Safe HaskellSafe-Inferred
LanguageGHC2021

Effectful.Zoo.Hedgehog.Api.Assert

Documentation

assert :: forall r. HasCallStack => r <: Hedgehog => Bool -> Eff r () Source #

(===) :: forall a r. HasCallStack => Eq a => Show a => r <: Hedgehog => a -> a -> Eff r () infix 4 Source #

(/==) :: forall a r. HasCallStack => Eq a => Show a => r <: Hedgehog => a -> a -> Eff r () infix 4 Source #

onNothingFail :: forall a r. HasCallStack => r <: Hedgehog => Maybe a -> Eff r a Source #

onNothingFailM :: forall a r. HasCallStack => r <: Hedgehog => Eff r (Maybe a) -> Eff r a Source #

onLeftFail :: forall e a r. HasCallStack => Show e => r <: Hedgehog => Either e a -> Eff r a Source #

onLeftFailM :: forall e a r. HasCallStack => Show e => r <: Hedgehog => Eff r (Either e a) -> Eff r a Source #