Polysemy.Test.Data.Hedgehog
Description
Hedgehog Effect, Internal
data Hedgehog m :: Effect where Source #
Convenience effect for embedding Hedgehog assertions.
Constructors
liftH :: forall m a r. Member (Hedgehog m) r => TestT m a -> Sem r a Source #
Lift a TestT m into Sem.
TestT m
TestT
>>> liftH (Hedgehog.evalEither (Left 0)) liftH (Hedgehog.evalEither (Left 0)) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ │ 0
>>>
liftH (Hedgehog.evalEither (Left 0))