plutus-core-1.60.0.0: Language library for Plutus Core
Safe HaskellSafe-Inferred
LanguageHaskell2010

PlutusCore.Generators.Hedgehog.Utils

Description

Utilities used in modules from the TestSupport folder.

Synopsis
  • liftT :: (PrettyPlc err => err -> choice, but with a default generator to be used when the supplied list of generators is empty.

forAllNoShow :: PropertyT m a #

Generate a value, but do not show it in case an error occurs. A supplied generator has access to the Pretty class for getting its String representation. A supplied generator has access to the PrettyPlc constraint for getting its String representation. A supplied generator has access to the PrettyPlc err => err -> String #

Pretty-print a PLC error.