Safe Haskell | None |
---|---|
Language | Haskell2010 |
Cardano.Api.Pretty
Contents
Synopsis
- type Ann = AnsiStyle
- data Doc ann
- class Pretty a where
- pretty :: a -> Doc ann
- prettyList :: [a] -> Doc ann
- newtype ShowOf a = ShowOf a
- docToLazyText :: Doc AnsiStyle -> Text
- docToText :: Doc AnsiStyle -> Text
- docToString :: Doc AnsiStyle -> String
- prettyShow :: Pretty a => a -> String
- textShow :: Show a => a -> Text
- pshow :: Show a => a -> Doc ann
- prettyException :: Exception a => a -> Doc ann
- hsep :: [Doc ann] -> Doc ann
- vsep :: [Doc ann] -> Doc ann
- (<+>) :: Doc ann -> Doc ann -> Doc ann
- black :: Doc AnsiStyle -> Doc AnsiStyle
- red :: Doc AnsiStyle -> Doc AnsiStyle
- green :: Doc AnsiStyle -> Doc AnsiStyle
- yellow :: Doc AnsiStyle -> Doc AnsiStyle
- blue :: Doc AnsiStyle -> Doc AnsiStyle
- magenta :: Doc AnsiStyle -> Doc AnsiStyle
- cyan :: Doc AnsiStyle -> Doc AnsiStyle
- white :: Doc AnsiStyle -> Doc AnsiStyle
Documentation
Ann
is the prettyprinter annotation for cardano-api and cardano-cli to enable the printing
of colored output. This is a type alias for AnsiStyle.
Instances
Minimal complete definition
Instances
Pretty Void | |
Defined in Prettyprinter.Internal | |
Pretty Int16 | |
Defined in Prettyprinter.Internal | |
Pretty Int32 | |
Defined in Prettyprinter.Internal | |
Pretty Int64 | |
Defined in Prettyprinter.Internal | |
Pretty Int8 | |
Defined in Prettyprinter.Internal | |
Pretty Word16 | |
Defined in Prettyprinter.Internal | |
Pretty Word32 | |
Defined in Prettyprinter.Internal | |
Pretty Word64 | |
Defined in Prettyprinter.Internal | |
Pretty Word8 | |
Defined in Prettyprinter.Internal | |
Pretty AnyCardanoEra Source # | |
Defined in Cardano.Api.Era.Internal.Core | |
Pretty ScriptHash Source # | |
Defined in Cardano.Api.Plutus.Internal.Script | |
Pretty PraosNonce Source # | |
Defined in Cardano.Api.ProtocolParameters | |
Pretty TxOutInAnyEra Source # | |
Defined in Cardano.Api.Tx.Internal.Output | |
Pretty TxId Source # | |
Defined in Cardano.Api.Tx.Internal.TxIn | |
Pretty TxIn Source # | |
Defined in Cardano.Api.Tx.Internal.TxIn | |
Pretty TxIx Source # | |
Defined in Cardano.Api.Tx.Internal.TxIn | |
Pretty Url Source # | |
Defined in Cardano.Api.Pretty | |
Pretty Coin Source # | |
Defined in Cardano.Api.Internal.Orphans.Serialisation | |
Pretty AssetName Source # | |
Defined in Cardano.Api.Internal.Orphans.Serialisation | |
Pretty MultiAsset Source # | |
Defined in Cardano.Api.Internal.Orphans.Serialisation | |
Pretty PolicyID Source # | |
Defined in Cardano.Api.Internal.Orphans.Serialisation | |
Pretty Error Source # | |
Defined in Cardano.Api.Internal.Orphans.Misc | |
Pretty Ann | |
Defined in PlutusCore.Annotation | |
Pretty SrcSpan | |
Defined in PlutusCore.Annotation | |
Pretty SrcSpans | |
Defined in PlutusCore.Annotation | |
Pretty BuiltinError | |
Defined in PlutusCore.Builtin.Result | |
Pretty UnliftingError | |
Defined in PlutusCore.Builtin.Result | |
Pretty UnliftingEvaluationError | |
Defined in PlutusCore.Builtin.Result Methods pretty :: UnliftingEvaluationError -> Doc ann # prettyList :: [UnliftingEvaluationError] -> Doc ann # | |
Pretty Data | |
Defined in PlutusCore.Data | |
Pretty FreeVariableError | |
Defined in PlutusCore.DeBruijn.Internal | |
Pretty Index | |
Defined in PlutusCore.DeBruijn.Internal | |
Pretty DefaultFun | |
Defined in PlutusCore.Default.Builtins | |
Pretty ParserError | |
Defined in PlutusCore.Error | |
Pretty ParserErrorBundle | |
Defined in PlutusCore.Error | |
Pretty CkUserError | |
Defined in PlutusCore.Evaluation.Machine.Ck | |
Pretty CostModelApplyError | |
Pretty CostModelApplyWarn | |
Pretty ExBudget | |
Defined in PlutusCore.Evaluation.Machine.ExBudget | |
Pretty ExRestrictingBudget | |
Defined in PlutusCore.Evaluation.Machine.ExBudget | |
Pretty ExCPU | |
Defined in PlutusCore.Evaluation.Machine.ExMemory | |
Pretty ExMemory | |
Defined in PlutusCore.Evaluation.Machine.ExMemory | |
Pretty Unique | |
Defined in PlutusCore.Name.Unique | |
Pretty Version | |
Defined in PlutusCore.Version | |
Pretty CountingSt | |
Pretty RestrictingSt | |
Pretty CekUserError | |
Pretty DatatypeComponent | |
Defined in PlutusIR.Compiler.Provenance | |
Pretty GeneratedKind | |
Defined in PlutusIR.Compiler.Provenance | |
Pretty EvaluationError | |
Defined in PlutusLedgerApi.Common.Eval | |
Pretty MajorProtocolVersion | |
Defined in PlutusLedgerApi.Common.ProtocolVersions | |
Pretty ScriptDecodeError | |
Defined in PlutusLedgerApi.Common.SerialisedScript | |
Pretty PlutusLedgerLanguage | |
Defined in PlutusLedgerApi.Common.Versions | |
Pretty Address | |
Defined in PlutusLedgerApi.V1.Address | |
Pretty LedgerBytes | |
Defined in PlutusLedgerApi.V1.Bytes | |
Pretty ScriptContext | |
Defined in PlutusLedgerApi.V1.Contexts | |
Pretty ScriptPurpose | |
Defined in PlutusLedgerApi.V1.Contexts | |
Pretty TxInInfo | |
Defined in PlutusLedgerApi.V1.Contexts | |
Pretty TxInfo | |
Defined in PlutusLedgerApi.V1.Contexts | |
Pretty Credential | |
Defined in PlutusLedgerApi.V1.Credential | |
Pretty StakingCredential | |
Defined in PlutusLedgerApi.V1.Credential | |
Pretty PubKeyHash | using hex encoding |
Defined in PlutusLedgerApi.V1.Crypto | |
Pretty DCert | |
Defined in PlutusLedgerApi.V1.DCert | |
Pretty Address | |
Defined in PlutusLedgerApi.V1.Data.Address | |
Pretty ScriptContext | |
Defined in PlutusLedgerApi.V1.Data.Contexts | |
Pretty ScriptPurpose | |
Defined in PlutusLedgerApi.V1.Data.Contexts | |
Pretty TxInInfo | |
Defined in PlutusLedgerApi.V1.Data.Contexts | |
Pretty TxInfo | |
Defined in PlutusLedgerApi.V1.Data.Contexts | |
Pretty Credential | |
Defined in PlutusLedgerApi.V1.Data.Credential | |
Pretty StakingCredential | |
Defined in PlutusLedgerApi.V1.Data.Credential | |
Pretty DCert | |
Defined in PlutusLedgerApi.V1.Data.DCert | |
Pretty POSIXTime | |
Defined in PlutusLedgerApi.V1.Data.Time | |
Pretty TxId | using hex encoding |
Defined in PlutusLedgerApi.V1.Data.Tx | |
Pretty TxOut | |
Defined in PlutusLedgerApi.V1.Data.Tx | |
Pretty TxOutRef | |
Defined in PlutusLedgerApi.V1.Data.Tx | |
Pretty AssetClass | |
Defined in PlutusLedgerApi.V1.Data.Value | |
Pretty CurrencySymbol | using hex encoding |
Defined in PlutusLedgerApi.V1.Data.Value | |
Pretty Lovelace | |
Defined in PlutusLedgerApi.V1.Data.Value | |
Pretty TokenName | |
Defined in PlutusLedgerApi.V1.Data.Value | |
Pretty Value | |
Defined in PlutusLedgerApi.V1.Data.Value | |
Pretty Context | |
Defined in PlutusLedgerApi.V1.Scripts | |
Pretty Datum | |
Defined in PlutusLedgerApi.V1.Scripts | |
Pretty DatumHash | using hex encoding |
Defined in PlutusLedgerApi.V1.Scripts | |
Pretty Redeemer | |
Defined in PlutusLedgerApi.V1.Scripts | |
Pretty RedeemerHash | using hex encoding |
Defined in PlutusLedgerApi.V1.Scripts | |
Pretty ScriptHash | using hex encoding |
Defined in PlutusLedgerApi.V1.Scripts | |
Pretty POSIXTime | |
Defined in PlutusLedgerApi.V1.Time | |
Pretty TxId | using hex encoding |
Defined in PlutusLedgerApi.V1.Tx | |
Pretty TxOut | |
Defined in PlutusLedgerApi.V1.Tx | |
Pretty TxOutRef | |
Defined in PlutusLedgerApi.V1.Tx | |
Pretty AssetClass | |
Defined in PlutusLedgerApi.V1.Value | |
Pretty CurrencySymbol | using hex encoding |
Defined in PlutusLedgerApi.V1.Value | |
Pretty Lovelace | |
Defined in PlutusLedgerApi.V1.Value | |
Pretty TokenName | |
Defined in PlutusLedgerApi.V1.Value | |
Pretty Value | |
Defined in PlutusLedgerApi.V1.Value | |
Pretty ScriptContext | |
Defined in PlutusLedgerApi.V2.Contexts | |
Pretty TxInInfo | |
Defined in PlutusLedgerApi.V2.Contexts | |
Pretty TxInfo | |
Defined in PlutusLedgerApi.V2.Contexts | |
Pretty ScriptContext | |
Defined in PlutusLedgerApi.V2.Data.Contexts | |
Pretty TxInInfo | |
Defined in PlutusLedgerApi.V2.Data.Contexts | |
Pretty TxInfo | |
Defined in PlutusLedgerApi.V2.Data.Contexts | |
Pretty OutputDatum | |
Defined in PlutusLedgerApi.V2.Data.Tx | |
Pretty TxOut | |
Defined in PlutusLedgerApi.V2.Data.Tx | |
Pretty OutputDatum | |
Defined in PlutusLedgerApi.V2.Tx | |
Pretty TxOut | |
Defined in PlutusLedgerApi.V2.Tx | |
Pretty ChangedParameters | |
Defined in PlutusLedgerApi.V3.Contexts | |
Pretty ColdCommitteeCredential | |
Defined in PlutusLedgerApi.V3.Contexts Methods pretty :: ColdCommitteeCredential -> Doc ann # prettyList :: [ColdCommitteeCredential] -> Doc ann # | |
Pretty Committee | |
Defined in PlutusLedgerApi.V3.Contexts | |
Pretty Constitution | |
Defined in PlutusLedgerApi.V3.Contexts | |
Pretty DRep | |
Defined in PlutusLedgerApi.V3.Contexts | |
Pretty DRepCredential | |
Defined in PlutusLedgerApi.V3.Contexts | |
Pretty Delegatee | |
Defined in PlutusLedgerApi.V3.Contexts | |
Pretty GovernanceAction | |
Defined in PlutusLedgerApi.V3.Contexts | |
Pretty GovernanceActionId | |
Defined in PlutusLedgerApi.V3.Contexts | |
Pretty HotCommitteeCredential | |
Defined in PlutusLedgerApi.V3.Contexts Methods pretty :: HotCommitteeCredential -> Doc ann # prettyList :: [HotCommitteeCredential] -> Doc ann # | |
Pretty ProposalProcedure | |
Defined in PlutusLedgerApi.V3.Contexts | |
Pretty ProtocolVersion | |
Defined in PlutusLedgerApi.V3.Contexts | |
Pretty ScriptContext | |
Defined in PlutusLedgerApi.V3.Contexts | |
Pretty ScriptInfo | |
Defined in PlutusLedgerApi.V3.Contexts | |
Pretty ScriptPurpose | |
Defined in PlutusLedgerApi.V3.Contexts | |
Pretty TxCert | |
Defined in PlutusLedgerApi.V3.Contexts | |
Pretty TxInInfo | |
Defined in PlutusLedgerApi.V3.Contexts | |
Pretty TxInfo | |
Defined in PlutusLedgerApi.V3.Contexts | |
Pretty Vote | |
Defined in PlutusLedgerApi.V3.Contexts | |
Pretty Voter | |
Defined in PlutusLedgerApi.V3.Contexts | |
Pretty ChangedParameters | |
Defined in PlutusLedgerApi.V3.Data.Contexts | |
Pretty ColdCommitteeCredential | |
Defined in PlutusLedgerApi.V3.Data.Contexts Methods pretty :: ColdCommitteeCredential -> Doc ann # prettyList :: [ColdCommitteeCredential] -> Doc ann # | |
Pretty Committee | |
Defined in PlutusLedgerApi.V3.Data.Contexts | |
Pretty Constitution | |
Defined in PlutusLedgerApi.V3.Data.Contexts | |
Pretty DRep | |
Defined in PlutusLedgerApi.V3.Data.Contexts | |
Pretty DRepCredential | |
Defined in PlutusLedgerApi.V3.Data.Contexts | |
Pretty Delegatee | |
Defined in PlutusLedgerApi.V3.Data.Contexts | |
Pretty GovernanceAction | |
Defined in PlutusLedgerApi.V3.Data.Contexts | |
Pretty GovernanceActionId | |
Defined in PlutusLedgerApi.V3.Data.Contexts | |
Pretty HotCommitteeCredential | |
Defined in PlutusLedgerApi.V3.Data.Contexts Methods pretty :: HotCommitteeCredential -> Doc ann # prettyList :: [HotCommitteeCredential] -> Doc ann # | |
Pretty ProposalProcedure | |
Defined in PlutusLedgerApi.V3.Data.Contexts | |
Pretty ProtocolVersion | |
Defined in PlutusLedgerApi.V3.Data.Contexts | |
Pretty ScriptContext | |
Defined in PlutusLedgerApi.V3.Data.Contexts | |
Pretty ScriptInfo | |
Defined in PlutusLedgerApi.V3.Data.Contexts | |
Pretty ScriptPurpose | |
Defined in PlutusLedgerApi.V3.Data.Contexts | |
Pretty TxCert | |
Defined in PlutusLedgerApi.V3.Data.Contexts | |
Pretty TxInInfo | |
Defined in PlutusLedgerApi.V3.Data.Contexts | |
Pretty TxInfo | |
Defined in PlutusLedgerApi.V3.Data.Contexts | |
Pretty Vote | |
Defined in PlutusLedgerApi.V3.Data.Contexts | |
Pretty Voter | |
Defined in PlutusLedgerApi.V3.Data.Contexts | |
Pretty MintValue | |
Defined in PlutusLedgerApi.V3.Data.MintValue | |
Pretty TxId | using hex encoding |
Defined in PlutusLedgerApi.V3.Data.Tx | |
Pretty TxOutRef | |
Defined in PlutusLedgerApi.V3.Data.Tx | |
Pretty MintValue | |
Defined in PlutusLedgerApi.V3.MintValue | |
Pretty TxId | using hex encoding |
Defined in PlutusLedgerApi.V3.Tx | |
Pretty TxOutRef | |
Defined in PlutusLedgerApi.V3.Tx | |
Pretty ScriptEvaluationData | |
Defined in PlutusLedgerApi.Test.EvaluationEvent | |
Pretty ScriptEvaluationEvent | |
Defined in PlutusLedgerApi.Test.EvaluationEvent | |
Pretty ScriptEvaluationResult | |
Defined in PlutusLedgerApi.Test.EvaluationEvent | |
Pretty UnexpectedEvaluationResult | |
Defined in PlutusLedgerApi.Test.EvaluationEvent | |
Pretty BuiltinByteStringHex | |
Defined in PlutusTx.Builtins.HasOpaque | |
Pretty BuiltinByteStringUtf8 | |
Defined in PlutusTx.Builtins.HasOpaque Methods pretty :: BuiltinByteStringUtf8 -> Doc ann # prettyList :: [BuiltinByteStringUtf8] -> Doc ann # | |
Pretty BuiltinBLS12_381_G1_Element | |
Defined in PlutusTx.Builtins.Internal Methods pretty :: BuiltinBLS12_381_G1_Element -> Doc ann # prettyList :: [BuiltinBLS12_381_G1_Element] -> Doc ann # | |
Pretty BuiltinBLS12_381_G2_Element | |
Defined in PlutusTx.Builtins.Internal Methods pretty :: BuiltinBLS12_381_G2_Element -> Doc ann # prettyList :: [BuiltinBLS12_381_G2_Element] -> Doc ann # | |
Pretty BuiltinBLS12_381_MlResult | |
Defined in PlutusTx.Builtins.Internal Methods pretty :: BuiltinBLS12_381_MlResult -> Doc ann # prettyList :: [BuiltinBLS12_381_MlResult] -> Doc ann # | |
Pretty BuiltinByteString | |
Defined in PlutusTx.Builtins.Internal | |
Pretty BuiltinData | |
Defined in PlutusTx.Builtins.Internal | |
Pretty CovLoc | |
Defined in PlutusTx.Coverage | |
Pretty CoverageAnnotation | |
Defined in PlutusTx.Coverage | |
Pretty CoverageMetadata | |
Defined in PlutusTx.Coverage | |
Pretty CoverageReport | |
Defined in PlutusTx.Coverage | |
Pretty Metadata | |
Defined in PlutusTx.Coverage | |
Pretty Rational | |
Defined in PlutusTx.Ratio | |
Pretty Text | |
Defined in Prettyprinter.Internal | |
Pretty Text | |
Defined in Prettyprinter.Internal | |
Pretty Integer | |
Defined in Prettyprinter.Internal | |
Pretty Natural | |
Defined in Prettyprinter.Internal | |
Pretty () | |
Defined in Prettyprinter.Internal | |
Pretty Bool | |
Defined in Prettyprinter.Internal | |
Pretty Char | |
Defined in Prettyprinter.Internal | |
Pretty Double | |
Defined in Prettyprinter.Internal | |
Pretty Float | |
Defined in Prettyprinter.Internal | |
Pretty Int | |
Defined in Prettyprinter.Internal | |
Pretty Word | |
Defined in Prettyprinter.Internal | |
Pretty a => Pretty (Identity a) | |
Defined in Prettyprinter.Internal | |
Pretty a => Pretty (NonEmpty a) | |
Defined in Prettyprinter.Internal | |
Pretty (CardanoEra era) Source # | |
Defined in Cardano.Api.Era.Internal.Core | |
Pretty (ShelleyBasedEra era) Source # | |
Defined in Cardano.Api.Era.Internal.Eon.ShelleyBasedEra | |
Pretty (DeprecatedEra era) Source # | |
Defined in Cardano.Api.Experimental.Era | |
Pretty (Era era) Source # | |
Defined in Cardano.Api.Experimental.Era | |
Pretty (Hash ByronKey) Source # | |
Pretty (Hash ByronKeyLegacy) Source # | |
Defined in Cardano.Api.Byron.Internal.Key | |
Pretty (Hash GovernancePoll) Source # | |
Defined in Cardano.Api.Governance.Internal.Poll | |
Pretty (Hash CommitteeColdExtendedKey) Source # | |
Defined in Cardano.Api.Key.Internal Methods pretty :: Hash CommitteeColdExtendedKey -> Doc ann # prettyList :: [Hash CommitteeColdExtendedKey] -> Doc ann # | |
Pretty (Hash CommitteeColdKey) Source # | |
Defined in Cardano.Api.Key.Internal Methods pretty :: Hash CommitteeColdKey -> Doc ann # prettyList :: [Hash CommitteeColdKey] -> Doc ann # | |
Pretty (Hash CommitteeHotExtendedKey) Source # | |
Defined in Cardano.Api.Key.Internal Methods pretty :: Hash CommitteeHotExtendedKey -> Doc ann # prettyList :: [Hash CommitteeHotExtendedKey] -> Doc ann # | |
Pretty (Hash CommitteeHotKey) Source # | |
Defined in Cardano.Api.Key.Internal | |
Pretty (Hash DRepExtendedKey) Source # | |
Defined in Cardano.Api.Key.Internal | |
Pretty (Hash DRepKey) Source # | |
Pretty (Hash GenesisDelegateExtendedKey) Source # | |
Defined in Cardano.Api.Key.Internal Methods pretty :: Hash GenesisDelegateExtendedKey -> Doc ann # prettyList :: [Hash GenesisDelegateExtendedKey] -> Doc ann # | |
Pretty (Hash GenesisDelegateKey) Source # | |
Defined in Cardano.Api.Key.Internal Methods pretty :: Hash GenesisDelegateKey -> Doc ann # prettyList :: [Hash GenesisDelegateKey] -> Doc ann # | |
Pretty (Hash GenesisExtendedKey) Source # | |
Defined in Cardano.Api.Key.Internal Methods pretty :: Hash GenesisExtendedKey -> Doc ann # prettyList :: [Hash GenesisExtendedKey] -> Doc ann # | |
Pretty (Hash GenesisKey) Source # | |
Defined in Cardano.Api.Key.Internal | |
Pretty (Hash GenesisUTxOKey) Source # | |
Defined in Cardano.Api.Key.Internal | |
Pretty (Hash PaymentExtendedKey) Source # | |
Defined in Cardano.Api.Key.Internal Methods pretty :: Hash PaymentExtendedKey -> Doc ann # prettyList :: [Hash PaymentExtendedKey] -> Doc ann # | |
Pretty (Hash PaymentKey) Source # | |
Defined in Cardano.Api.Key.Internal | |
Pretty (Hash StakeExtendedKey) Source # | |
Defined in Cardano.Api.Key.Internal Methods pretty :: Hash StakeExtendedKey -> Doc ann # prettyList :: [Hash StakeExtendedKey] -> Doc ann # | |
Pretty (Hash StakeKey) Source # | |
Pretty (Hash StakePoolKey) Source # | |
Defined in Cardano.Api.Key.Internal | |
Pretty (Hash KesKey) Source # | |
Pretty (Hash VrfKey) Source # | |
Pretty (Hash ScriptData) Source # | |
Defined in Cardano.Api.Plutus.Internal.ScriptData | |
Pretty (SigningKey ByronKey) Source # | |
Defined in Cardano.Api.Byron.Internal.Key | |
Pretty (SigningKey ByronKeyLegacy) Source # | |
Defined in Cardano.Api.Byron.Internal.Key Methods pretty :: SigningKey ByronKeyLegacy -> Doc ann # prettyList :: [SigningKey ByronKeyLegacy] -> Doc ann # | |
Pretty (SigningKey CommitteeColdExtendedKey) Source # | |
Defined in Cardano.Api.Key.Internal Methods pretty :: SigningKey CommitteeColdExtendedKey -> Doc ann # prettyList :: [SigningKey CommitteeColdExtendedKey] -> Doc ann # | |
Pretty (SigningKey CommitteeColdKey) Source # | |
Defined in Cardano.Api.Key.Internal Methods pretty :: SigningKey CommitteeColdKey -> Doc ann # prettyList :: [SigningKey CommitteeColdKey] -> Doc ann # | |
Pretty (SigningKey CommitteeHotExtendedKey) Source # | |
Defined in Cardano.Api.Key.Internal Methods pretty :: SigningKey CommitteeHotExtendedKey -> Doc ann # prettyList :: [SigningKey CommitteeHotExtendedKey] -> Doc ann # | |
Pretty (SigningKey CommitteeHotKey) Source # | |
Defined in Cardano.Api.Key.Internal Methods pretty :: SigningKey CommitteeHotKey -> Doc ann # prettyList :: [SigningKey CommitteeHotKey] -> Doc ann # | |
Pretty (SigningKey DRepExtendedKey) Source # | |
Defined in Cardano.Api.Key.Internal Methods pretty :: SigningKey DRepExtendedKey -> Doc ann # prettyList :: [SigningKey DRepExtendedKey] -> Doc ann # | |
Pretty (SigningKey DRepKey) Source # | |
Defined in Cardano.Api.Key.Internal | |
Pretty (SigningKey GenesisDelegateExtendedKey) Source # | |
Defined in Cardano.Api.Key.Internal Methods pretty :: SigningKey GenesisDelegateExtendedKey -> Doc ann # prettyList :: [SigningKey GenesisDelegateExtendedKey] -> Doc ann # | |
Pretty (SigningKey GenesisDelegateKey) Source # | |
Defined in Cardano.Api.Key.Internal Methods pretty :: SigningKey GenesisDelegateKey -> Doc ann # prettyList :: [SigningKey GenesisDelegateKey] -> Doc ann # | |
Pretty (SigningKey GenesisExtendedKey) Source # | |
Defined in Cardano.Api.Key.Internal Methods pretty :: SigningKey GenesisExtendedKey -> Doc ann # prettyList :: [SigningKey GenesisExtendedKey] -> Doc ann # | |
Pretty (SigningKey GenesisKey) Source # | |
Defined in Cardano.Api.Key.Internal Methods pretty :: SigningKey GenesisKey -> Doc ann # prettyList :: [SigningKey GenesisKey] -> Doc ann # | |
Pretty (SigningKey GenesisUTxOKey) Source # | |
Defined in Cardano.Api.Key.Internal Methods pretty :: SigningKey GenesisUTxOKey -> Doc ann # prettyList :: [SigningKey GenesisUTxOKey] -> Doc ann # | |
Pretty (SigningKey PaymentExtendedKey) Source # | |
Defined in Cardano.Api.Key.Internal Methods pretty :: SigningKey PaymentExtendedKey -> Doc ann # prettyList :: [SigningKey PaymentExtendedKey] -> Doc ann # | |
Pretty (SigningKey PaymentKey) Source # | |
Defined in Cardano.Api.Key.Internal Methods pretty :: SigningKey PaymentKey -> Doc ann # prettyList :: [SigningKey PaymentKey] -> Doc ann # | |
Pretty (SigningKey StakeExtendedKey) Source # | |
Defined in Cardano.Api.Key.Internal Methods pretty :: SigningKey StakeExtendedKey -> Doc ann # prettyList :: [SigningKey StakeExtendedKey] -> Doc ann # | |
Pretty (SigningKey StakeKey) Source # | |
Defined in Cardano.Api.Key.Internal | |
Pretty (SigningKey StakePoolExtendedKey) Source # | |
Defined in Cardano.Api.Key.Internal Methods pretty :: SigningKey StakePoolExtendedKey -> Doc ann # prettyList :: [SigningKey StakePoolExtendedKey] -> Doc ann # | |
Pretty (SigningKey StakePoolKey) Source # | |
Defined in Cardano.Api.Key.Internal Methods pretty :: SigningKey StakePoolKey -> Doc ann # prettyList :: [SigningKey StakePoolKey] -> Doc ann # | |
Pretty (SigningKey KesKey) Source # | |
Defined in Cardano.Api.Key.Internal.Praos | |
Pretty (SigningKey VrfKey) Source # | |
Defined in Cardano.Api.Key.Internal.Praos | |
Pretty (VerificationKey ByronKey) Source # | |
Defined in Cardano.Api.Byron.Internal.Key Methods pretty :: VerificationKey ByronKey -> Doc ann # prettyList :: [VerificationKey ByronKey] -> Doc ann # | |
Pretty (VerificationKey ByronKeyLegacy) Source # | |
Defined in Cardano.Api.Byron.Internal.Key Methods pretty :: VerificationKey ByronKeyLegacy -> Doc ann # prettyList :: [VerificationKey ByronKeyLegacy] -> Doc ann # | |
Pretty (VerificationKey CommitteeColdExtendedKey) Source # | |
Defined in Cardano.Api.Key.Internal Methods pretty :: VerificationKey CommitteeColdExtendedKey -> Doc ann # prettyList :: [VerificationKey CommitteeColdExtendedKey] -> Doc ann # | |
Pretty (VerificationKey CommitteeColdKey) Source # | |
Defined in Cardano.Api.Key.Internal Methods pretty :: VerificationKey CommitteeColdKey -> Doc ann # prettyList :: [VerificationKey CommitteeColdKey] -> Doc ann # | |
Pretty (VerificationKey CommitteeHotExtendedKey) Source # | |
Defined in Cardano.Api.Key.Internal Methods pretty :: VerificationKey CommitteeHotExtendedKey -> Doc ann # prettyList :: [VerificationKey CommitteeHotExtendedKey] -> Doc ann # | |
Pretty (VerificationKey CommitteeHotKey) Source # | |
Defined in Cardano.Api.Key.Internal Methods pretty :: VerificationKey CommitteeHotKey -> Doc ann # prettyList :: [VerificationKey CommitteeHotKey] -> Doc ann # | |
Pretty (VerificationKey DRepExtendedKey) Source # | |
Defined in Cardano.Api.Key.Internal Methods pretty :: VerificationKey DRepExtendedKey -> Doc ann # prettyList :: [VerificationKey DRepExtendedKey] -> Doc ann # | |
Pretty (VerificationKey DRepKey) Source # | |
Defined in Cardano.Api.Key.Internal Methods pretty :: VerificationKey DRepKey -> Doc ann # prettyList :: [VerificationKey DRepKey] -> Doc ann # | |
Pretty (VerificationKey GenesisDelegateExtendedKey) Source # | |
Defined in Cardano.Api.Key.Internal Methods pretty :: VerificationKey GenesisDelegateExtendedKey -> Doc ann # prettyList :: [VerificationKey GenesisDelegateExtendedKey] -> Doc ann # | |
Pretty (VerificationKey GenesisDelegateKey) Source # | |
Defined in Cardano.Api.Key.Internal Methods pretty :: VerificationKey GenesisDelegateKey -> Doc ann # prettyList :: [VerificationKey GenesisDelegateKey] -> Doc ann # | |
Pretty (VerificationKey GenesisExtendedKey) Source # | |
Defined in Cardano.Api.Key.Internal Methods pretty :: VerificationKey GenesisExtendedKey -> Doc ann # prettyList :: [VerificationKey GenesisExtendedKey] -> Doc ann # | |
Pretty (VerificationKey GenesisKey) Source # | |
Defined in Cardano.Api.Key.Internal Methods pretty :: VerificationKey GenesisKey -> Doc ann # prettyList :: [VerificationKey GenesisKey] -> Doc ann # | |
Pretty (VerificationKey GenesisUTxOKey) Source # | |
Defined in Cardano.Api.Key.Internal Methods pretty :: VerificationKey GenesisUTxOKey -> Doc ann # prettyList :: [VerificationKey GenesisUTxOKey] -> Doc ann # | |
Pretty (VerificationKey PaymentExtendedKey) Source # | |
Defined in Cardano.Api.Key.Internal Methods pretty :: VerificationKey PaymentExtendedKey -> Doc ann # prettyList :: [VerificationKey PaymentExtendedKey] -> Doc ann # | |
Pretty (VerificationKey PaymentKey) Source # | |
Defined in Cardano.Api.Key.Internal Methods pretty :: VerificationKey PaymentKey -> Doc ann # prettyList :: [VerificationKey PaymentKey] -> Doc ann # | |
Pretty (VerificationKey StakeExtendedKey) Source # | |
Defined in Cardano.Api.Key.Internal Methods pretty :: VerificationKey StakeExtendedKey -> Doc ann # prettyList :: [VerificationKey StakeExtendedKey] -> Doc ann # | |
Pretty (VerificationKey StakeKey) Source # | |
Defined in Cardano.Api.Key.Internal Methods pretty :: VerificationKey StakeKey -> Doc ann # prettyList :: [VerificationKey StakeKey] -> Doc ann # | |
Pretty (VerificationKey StakePoolExtendedKey) Source # | |
Defined in Cardano.Api.Key.Internal Methods pretty :: VerificationKey StakePoolExtendedKey -> Doc ann # prettyList :: [VerificationKey StakePoolExtendedKey] -> Doc ann # | |
Pretty (VerificationKey StakePoolKey) Source # | |
Defined in Cardano.Api.Key.Internal Methods pretty :: VerificationKey StakePoolKey -> Doc ann # prettyList :: [VerificationKey StakePoolKey] -> Doc ann # | |
Pretty (VerificationKey KesKey) Source # | |
Defined in Cardano.Api.Key.Internal.Praos Methods pretty :: VerificationKey KesKey -> Doc ann # prettyList :: [VerificationKey KesKey] -> Doc ann # | |
Pretty (VerificationKey VrfKey) Source # | |
Defined in Cardano.Api.Key.Internal.Praos Methods pretty :: VerificationKey VrfKey -> Doc ann # prettyList :: [VerificationKey VrfKey] -> Doc ann # | |
Show a => Pretty (ShowOf a) Source # | |
Defined in Cardano.Api.Pretty.Internal.ShowOf | |
SerialiseAsBech32 a => Pretty (UsingBech32 a) Source # | |
Defined in Cardano.Api.Serialise.SerialiseUsing | |
SerialiseAsRawBytes a => Pretty (UsingRawBytesHex a) Source # | |
Defined in Cardano.Api.Serialise.SerialiseUsing | |
Pretty (PlutusScriptContext l) => Pretty (LegacyPlutusArgs l) | |
Defined in Cardano.Ledger.Plutus.Language | |
Pretty (PlutusArgs 'PlutusV1) | |
Defined in Cardano.Ledger.Plutus.Language | |
Pretty (PlutusArgs 'PlutusV2) | |
Defined in Cardano.Ledger.Plutus.Language | |
Pretty (PlutusArgs 'PlutusV3) | |
Defined in Cardano.Ledger.Plutus.Language | |
Pretty (BuiltinSemanticsVariant DefaultFun) | |
Defined in PlutusCore.Default.Builtins Methods pretty :: BuiltinSemanticsVariant DefaultFun -> Doc ann # prettyList :: [BuiltinSemanticsVariant DefaultFun] -> Doc ann # | |
Pretty a => Pretty (Normalized a) | |
Defined in PlutusCore.Core.Type | |
Pretty (DefaultUni a) | This always pretty-prints parens around type applications (e.g. |
Defined in PlutusCore.Default.Universe | |
Pretty ann => Pretty (UniqueError ann) | |
Defined in PlutusCore.Error | |
PrettyClassic a => Pretty (EvaluationResult a) | |
Defined in PlutusCore.Evaluation.Result | |
PrettyReadable a => Pretty (AsReadable a) | |
Defined in PlutusCore.Pretty.Readable | |
Pretty (SomeTypeIn DefaultUni) | |
Defined in PlutusCore.Default.Universe Methods pretty :: SomeTypeIn DefaultUni -> Doc ann # prettyList :: [SomeTypeIn DefaultUni] -> Doc ann # | |
(Show fun, Ord fun) => Pretty (CekExTally fun) | |
(Show fun, Ord fun) => Pretty (TallyingSt fun) | |
Show fun => Pretty (ExBudgetCategory fun) | |
Pretty a => Pretty (Provenance a) | |
Defined in PlutusIR.Compiler.Provenance | |
(Pretty a, ToData a, UnsafeFromData a) => Pretty (Extended a) | |
Defined in PlutusLedgerApi.V1.Data.Interval | |
(Pretty a, ToData a, UnsafeFromData a) => Pretty (Interval a) | |
Defined in PlutusLedgerApi.V1.Data.Interval | |
(Pretty a, ToData a, UnsafeFromData a) => Pretty (LowerBound a) | |
Defined in PlutusLedgerApi.V1.Data.Interval | |
(Pretty a, ToData a, UnsafeFromData a) => Pretty (UpperBound a) | |
Defined in PlutusLedgerApi.V1.Data.Interval | |
Pretty a => Pretty (Extended a) | |
Defined in PlutusLedgerApi.V1.Interval | |
Pretty a => Pretty (Interval a) | |
Defined in PlutusLedgerApi.V1.Interval | |
Pretty a => Pretty (LowerBound a) | |
Defined in PlutusLedgerApi.V1.Interval | |
Pretty a => Pretty (UpperBound a) | |
Defined in PlutusLedgerApi.V1.Interval | |
Show a => Pretty (PrettyShow a) | |
Defined in Prettyprinter.Extras | |
Pretty a => Pretty (Maybe a) | |
Defined in Prettyprinter.Internal | |
Pretty a => Pretty [a] | |
Defined in Prettyprinter.Internal | |
Pretty (Some Era) Source # | |
(Pretty structural, Pretty operational) => Pretty (EvaluationError structural operational) | |
Defined in PlutusCore.Evaluation.Error Methods pretty :: EvaluationError structural operational -> Doc ann # prettyList :: [EvaluationError structural operational] -> Doc ann # | |
(Pretty err, Pretty cause) => Pretty (ErrorWithCause err cause) | |
Defined in PlutusCore.Evaluation.ErrorWithCause Methods pretty :: ErrorWithCause err cause -> Doc ann # prettyList :: [ErrorWithCause err cause] -> Doc ann # | |
(Foldable f, Pretty a) => Pretty (PrettyFoldable f a) | |
Defined in Prettyprinter.Extras | |
(Pretty k, Pretty v) => Pretty (Map k v) | |
Defined in PlutusTx.AssocMap | |
DefaultPrettyBy config a => Pretty (AttachDefaultPrettyConfig config a) | |
Defined in Text.PrettyBy.Internal | |
PrettyBy config a => Pretty (AttachPrettyConfig config a) | |
Defined in Text.PrettyBy.Internal Methods pretty :: AttachPrettyConfig config a -> Doc ann # prettyList :: [AttachPrettyConfig config a] -> Doc ann # | |
(Pretty a1, Pretty a2) => Pretty (a1, a2) | |
Defined in Prettyprinter.Internal | |
Pretty a => Pretty (Const a b) | |
Defined in Prettyprinter.Internal | |
(PrettyUni uni, Pretty fun, Pretty ann) => Pretty (Error uni fun ann) | |
Defined in PlutusIR.Error | |
(Pretty a1, Pretty a2, Pretty a3) => Pretty (a1, a2, a3) | |
Defined in Prettyprinter.Internal |
Constructors
ShowOf a |
docToLazyText :: Doc AnsiStyle -> Text Source #
docToString :: Doc AnsiStyle -> String Source #
prettyException :: Exception a => a -> Doc ann Source #
Short hand for pretty
. displayException