quickcheck-contractmodel-0.1.4.1
Safe HaskellNone
LanguageHaskell2010

Test.QuickCheck.ContractModel.ThreatModel.Pretty

Synopsis

Documentation

paragraph :: [String] -> String Source #

Format a list of strings as a paragraph. The structure of the list is not considered other than inserting whitespace between consecutive elements. Use with counterexampleTM when printing longer texts.

block :: Doc -> [Doc] -> Doc Source #

fblock :: Doc -> [Doc] -> Doc Source #

hblock :: Doc -> [Doc] -> Doc Source #

hblock' :: Int -> Doc -> [Doc] -> Doc Source #

pList :: [Doc] -> Doc Source #

pSet :: [Doc] -> Doc Source #

pArgs :: [Doc] -> Doc Source #

(<:>) :: Doc -> Doc -> Doc infixr 6 Source #

prettyIn :: TxIn -> Doc Source #

prettyTxOut :: TxOut CtxUTxO Era -> Doc Source #

prettyTxOutTx :: TxOut CtxTx Era -> Doc Source #

prettyAddress :: AddressAny -> Doc Source #

prettyIx :: TxIx -> Doc Source #

prettyValue :: Value -> Doc Source #

prettyAssetId :: AssetId -> Doc Source #

prettyHash :: Show a => a -> Doc Source #

prettyRedeemer :: [TxIn] -> [PolicyId] -> RdmrPtr -> (Data era, ExUnits) -> Doc Source #

prettyDatumMap :: TxBodyScriptData Era -> Doc Source #

prettyMinting :: TxMintValue build Era -> Doc Source #

prettyValidity :: (TxValidityLowerBound Era, TxValidityUpperBound Era) -> Doc Source #

prettyLowerBound :: TxValidityLowerBound Era -> Doc Source #

prettyUpperBound :: TxValidityUpperBound Era -> Doc Source #

prettyScriptData :: ScriptData -> Doc Source #

prettyBytes :: Bool -> ByteString -> Doc Source #