| 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
- renderBuildable :: Buildable a => a -> Text
- 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
- data Text
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 AnyCardanoEra Source # | |
Defined in Cardano.Api.Era.Internal.Core | |
| Pretty BlsPossessionProof Source # | |
Defined in Cardano.Api.Key.Internal.Leios | |
| 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 Void # | |
Defined in Prettyprinter.Internal | |
| Pretty TypeRep Source # | |
Defined in Cardano.Api.Internal.Orphans.Misc | |
| 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 SourcePos Source # | |
Defined in PlutusCore.Error | |
| Pretty Error Source # | |
Defined in Cardano.Api.Internal.Orphans.Misc | |
| Pretty DeserialiseFailureInfo Source # | |
Defined in Codec.Extras.SerialiseViaFlat Methods pretty :: DeserialiseFailureInfo -> Doc ann # prettyList :: [DeserialiseFailureInfo] -> Doc ann # | |
| Pretty DeserialiseFailureReason Source # | |
Defined in Codec.Extras.SerialiseViaFlat Methods pretty :: DeserialiseFailureReason -> Doc ann # prettyList :: [DeserialiseFailureReason] -> Doc ann # | |
| Pretty Ann Source # | |
Defined in PlutusCore.Annotation | |
| Pretty SrcSpan Source # | |
Defined in PlutusCore.Annotation | |
| Pretty SrcSpans Source # | |
Defined in PlutusCore.Annotation | |
| Pretty Param Source # | |
Defined in PlutusCore.Arity | |
| Pretty AstSize Source # | |
Defined in PlutusCore.AstSize | |
| Pretty BuiltinError Source # | |
Defined in PlutusCore.Builtin.Result | |
| Pretty UnliftingError Source # | |
Defined in PlutusCore.Builtin.Result | |
| Pretty UnliftingEvaluationError Source # | |
Defined in PlutusCore.Builtin.Result Methods pretty :: UnliftingEvaluationError -> Doc ann # prettyList :: [UnliftingEvaluationError] -> Doc ann # | |
| Pretty NameAnn Source # | |
Defined in PlutusCore.Check.Scoping | |
| Pretty ScopeError Source # | |
Defined in PlutusCore.Check.Scoping | |
| Pretty Element Source # | |
Defined in PlutusCore.Crypto.BLS12_381.G1 | |
| Pretty Element Source # | |
Defined in PlutusCore.Crypto.BLS12_381.G2 | |
| Pretty MlResult Source # | |
Defined in PlutusCore.Crypto.BLS12_381.Pairing | |
| Pretty Data Source # | |
Defined in PlutusCore.Data | |
| Pretty FreeVariableError Source # | |
Defined in PlutusCore.DeBruijn.Internal | |
| Pretty Index Source # | |
Defined in PlutusCore.DeBruijn.Internal | |
| Pretty DefaultFun Source # | |
Defined in PlutusCore.Default.Builtins | |
| Pretty ParserError Source # | |
Defined in PlutusCore.Error | |
| Pretty ParserErrorBundle Source # | |
Defined in PlutusCore.Error | |
| Pretty CkUserError Source # | |
Defined in PlutusCore.Evaluation.Machine.Ck | |
| Pretty CostModelApplyError Source # | |
| Pretty CostModelApplyWarn Source # | |
| Pretty ExBudget Source # | |
Defined in PlutusCore.Evaluation.Machine.ExBudget | |
| Pretty ExRestrictingBudget Source # | |
Defined in PlutusCore.Evaluation.Machine.ExBudget | |
| Pretty ExCPU Source # | |
Defined in PlutusCore.Evaluation.Machine.ExMemory | |
| Pretty ExMemory Source # | |
Defined in PlutusCore.Evaluation.Machine.ExMemory | |
| Pretty ExtensionFun Source # | |
Defined in PlutusCore.Examples.Builtins | |
| Pretty Name Source # | |
Defined in PlutusCore.Core.Instance.Pretty.Default | |
| Pretty TyName Source # | |
Defined in PlutusCore.Core.Instance.Pretty.Default | |
| Pretty Unique Source # | |
Defined in PlutusCore.Name.Unique | |
| Pretty Quantity Source # | |
Defined in PlutusCore.Value | |
| Pretty Value Source # | |
Defined in PlutusCore.Value | |
| Pretty Version Source # | |
Defined in PlutusCore.Version | |
| Pretty CountingSt Source # | |
| Pretty RestrictingSt Source # | |
| Pretty CekUserError Source # | |
| Pretty Purity Source # | |
Defined in UntypedPlutusCore.Purity | |
| Pretty WorkFreedom Source # | |
Defined in UntypedPlutusCore.Purity | |
| Pretty CseWhichSubterms Source # | |
Defined in UntypedPlutusCore.Transform.Cse | |
| Pretty DatatypeComponent # | |
Defined in PlutusIR.Compiler.Provenance | |
| Pretty GeneratedKind # | |
Defined in PlutusIR.Compiler.Provenance | |
| Pretty EvaluationError Source # | |
Defined in PlutusLedgerApi.Common.Eval | |
| Pretty MajorProtocolVersion Source # | |
Defined in PlutusLedgerApi.Common.ProtocolVersions | |
| Pretty ScriptDecodeError Source # | |
Defined in PlutusLedgerApi.Common.SerialisedScript | |
| Pretty PlutusLedgerLanguage Source # | |
Defined in PlutusLedgerApi.Common.Versions | |
| Pretty Address Source # | |
Defined in PlutusLedgerApi.V1.Address | |
| Pretty LedgerBytes Source # | |
Defined in PlutusLedgerApi.V1.Bytes | |
| Pretty ScriptContext Source # | |
Defined in PlutusLedgerApi.V1.Contexts | |
| Pretty ScriptPurpose Source # | |
Defined in PlutusLedgerApi.V1.Contexts | |
| Pretty TxInInfo Source # | |
Defined in PlutusLedgerApi.V1.Contexts | |
| Pretty TxInfo Source # | |
Defined in PlutusLedgerApi.V1.Contexts | |
| Pretty Credential Source # | |
Defined in PlutusLedgerApi.V1.Credential | |
| Pretty StakingCredential Source # | |
Defined in PlutusLedgerApi.V1.Credential | |
| Pretty PubKeyHash Source # | using hex encoding |
Defined in PlutusLedgerApi.V1.Crypto | |
| Pretty DCert Source # | |
Defined in PlutusLedgerApi.V1.DCert | |
| Pretty Address Source # | |
Defined in PlutusLedgerApi.V1.Data.Address | |
| Pretty ScriptContext Source # | |
Defined in PlutusLedgerApi.V1.Data.Contexts | |
| Pretty ScriptPurpose Source # | |
Defined in PlutusLedgerApi.V1.Data.Contexts | |
| Pretty TxInInfo Source # | |
Defined in PlutusLedgerApi.V1.Data.Contexts | |
| Pretty TxInfo Source # | |
Defined in PlutusLedgerApi.V1.Data.Contexts | |
| Pretty Credential Source # | |
Defined in PlutusLedgerApi.V1.Data.Credential | |
| Pretty StakingCredential Source # | |
Defined in PlutusLedgerApi.V1.Data.Credential | |
| Pretty DCert Source # | |
Defined in PlutusLedgerApi.V1.Data.DCert | |
| Pretty POSIXTime Source # | |
Defined in PlutusLedgerApi.V1.Data.Time | |
| Pretty TxId Source # | using hex encoding |
Defined in PlutusLedgerApi.V1.Data.Tx | |
| Pretty TxOut Source # | |
Defined in PlutusLedgerApi.V1.Data.Tx | |
| Pretty TxOutRef Source # | |
Defined in PlutusLedgerApi.V1.Data.Tx | |
| Pretty AssetClass Source # | |
Defined in PlutusLedgerApi.V1.Data.Value | |
| Pretty CurrencySymbol Source # | using hex encoding |
Defined in PlutusLedgerApi.V1.Data.Value | |
| Pretty Lovelace Source # | |
Defined in PlutusLedgerApi.V1.Data.Value | |
| Pretty TokenName Source # | |
Defined in PlutusLedgerApi.V1.Data.Value | |
| Pretty Value Source # | |
Defined in PlutusLedgerApi.V1.Data.Value | |
| Pretty Context Source # | |
Defined in PlutusLedgerApi.V1.Scripts | |
| Pretty Datum Source # | |
Defined in PlutusLedgerApi.V1.Scripts | |
| Pretty DatumHash Source # | using hex encoding |
Defined in PlutusLedgerApi.V1.Scripts | |
| Pretty Redeemer Source # | |
Defined in PlutusLedgerApi.V1.Scripts | |
| Pretty RedeemerHash Source # | using hex encoding |
Defined in PlutusLedgerApi.V1.Scripts | |
| Pretty ScriptHash Source # | using hex encoding |
Defined in PlutusLedgerApi.V1.Scripts | |
| Pretty POSIXTime Source # | |
Defined in PlutusLedgerApi.V1.Time | |
| Pretty TxId Source # | using hex encoding |
Defined in PlutusLedgerApi.V1.Tx | |
| Pretty TxOut Source # | |
Defined in PlutusLedgerApi.V1.Tx | |
| Pretty TxOutRef Source # | |
Defined in PlutusLedgerApi.V1.Tx | |
| Pretty AssetClass Source # | |
Defined in PlutusLedgerApi.V1.Value | |
| Pretty CurrencySymbol Source # | using hex encoding |
Defined in PlutusLedgerApi.V1.Value | |
| Pretty Lovelace Source # | |
Defined in PlutusLedgerApi.V1.Value | |
| Pretty TokenName Source # | |
Defined in PlutusLedgerApi.V1.Value | |
| Pretty Value Source # | |
Defined in PlutusLedgerApi.V1.Value | |
| Pretty ScriptContext Source # | |
Defined in PlutusLedgerApi.V2.Contexts | |
| Pretty TxInInfo Source # | |
Defined in PlutusLedgerApi.V2.Contexts | |
| Pretty TxInfo Source # | |
Defined in PlutusLedgerApi.V2.Contexts | |
| Pretty ScriptContext Source # | |
Defined in PlutusLedgerApi.V2.Data.Contexts | |
| Pretty TxInInfo Source # | |
Defined in PlutusLedgerApi.V2.Data.Contexts | |
| Pretty TxInfo Source # | |
Defined in PlutusLedgerApi.V2.Data.Contexts | |
| Pretty OutputDatum Source # | |
Defined in PlutusLedgerApi.V2.Data.Tx | |
| Pretty TxOut Source # | |
Defined in PlutusLedgerApi.V2.Data.Tx | |
| Pretty OutputDatum Source # | |
Defined in PlutusLedgerApi.V2.Tx | |
| Pretty TxOut Source # | |
Defined in PlutusLedgerApi.V2.Tx | |
| Pretty ChangedParameters Source # | |
Defined in PlutusLedgerApi.V3.Contexts | |
| Pretty ColdCommitteeCredential Source # | |
Defined in PlutusLedgerApi.V3.Contexts Methods pretty :: ColdCommitteeCredential -> Doc ann # prettyList :: [ColdCommitteeCredential] -> Doc ann # | |
| Pretty Committee Source # | |
Defined in PlutusLedgerApi.V3.Contexts | |
| Pretty Constitution Source # | |
Defined in PlutusLedgerApi.V3.Contexts | |
| Pretty DRep Source # | |
Defined in PlutusLedgerApi.V3.Contexts | |
| Pretty DRepCredential Source # | |
Defined in PlutusLedgerApi.V3.Contexts | |
| Pretty Delegatee Source # | |
Defined in PlutusLedgerApi.V3.Contexts | |
| Pretty GovernanceAction Source # | |
Defined in PlutusLedgerApi.V3.Contexts | |
| Pretty GovernanceActionId Source # | |
Defined in PlutusLedgerApi.V3.Contexts | |
| Pretty HotCommitteeCredential Source # | |
Defined in PlutusLedgerApi.V3.Contexts Methods pretty :: HotCommitteeCredential -> Doc ann # prettyList :: [HotCommitteeCredential] -> Doc ann # | |
| Pretty ProposalProcedure Source # | |
Defined in PlutusLedgerApi.V3.Contexts | |
| Pretty ProtocolVersion Source # | |
Defined in PlutusLedgerApi.V3.Contexts | |
| Pretty ScriptContext Source # | |
Defined in PlutusLedgerApi.V3.Contexts | |
| Pretty ScriptInfo Source # | |
Defined in PlutusLedgerApi.V3.Contexts | |
| Pretty ScriptPurpose Source # | |
Defined in PlutusLedgerApi.V3.Contexts | |
| Pretty TxCert Source # | |
Defined in PlutusLedgerApi.V3.Contexts | |
| Pretty TxInInfo Source # | |
Defined in PlutusLedgerApi.V3.Contexts | |
| Pretty TxInfo Source # | |
Defined in PlutusLedgerApi.V3.Contexts | |
| Pretty Vote Source # | |
Defined in PlutusLedgerApi.V3.Contexts | |
| Pretty Voter Source # | |
Defined in PlutusLedgerApi.V3.Contexts | |
| Pretty ChangedParameters Source # | |
Defined in PlutusLedgerApi.V3.Data.Contexts | |
| Pretty ColdCommitteeCredential Source # | |
Defined in PlutusLedgerApi.V3.Data.Contexts Methods pretty :: ColdCommitteeCredential -> Doc ann # prettyList :: [ColdCommitteeCredential] -> Doc ann # | |
| Pretty Committee Source # | |
Defined in PlutusLedgerApi.V3.Data.Contexts | |
| Pretty Constitution Source # | |
Defined in PlutusLedgerApi.V3.Data.Contexts | |
| Pretty DRep Source # | |
Defined in PlutusLedgerApi.V3.Data.Contexts | |
| Pretty DRepCredential Source # | |
Defined in PlutusLedgerApi.V3.Data.Contexts | |
| Pretty Delegatee Source # | |
Defined in PlutusLedgerApi.V3.Data.Contexts | |
| Pretty GovernanceAction Source # | |
Defined in PlutusLedgerApi.V3.Data.Contexts | |
| Pretty GovernanceActionId Source # | |
Defined in PlutusLedgerApi.V3.Data.Contexts | |
| Pretty HotCommitteeCredential Source # | |
Defined in PlutusLedgerApi.V3.Data.Contexts Methods pretty :: HotCommitteeCredential -> Doc ann # prettyList :: [HotCommitteeCredential] -> Doc ann # | |
| Pretty ProposalProcedure Source # | |
Defined in PlutusLedgerApi.V3.Data.Contexts | |
| Pretty ProtocolVersion Source # | |
Defined in PlutusLedgerApi.V3.Data.Contexts | |
| Pretty ScriptContext Source # | |
Defined in PlutusLedgerApi.V3.Data.Contexts | |
| Pretty ScriptInfo Source # | |
Defined in PlutusLedgerApi.V3.Data.Contexts | |
| Pretty ScriptPurpose Source # | |
Defined in PlutusLedgerApi.V3.Data.Contexts | |
| Pretty TxCert Source # | |
Defined in PlutusLedgerApi.V3.Data.Contexts | |
| Pretty TxInInfo Source # | |
Defined in PlutusLedgerApi.V3.Data.Contexts | |
| Pretty TxInfo Source # | |
Defined in PlutusLedgerApi.V3.Data.Contexts | |
| Pretty Vote Source # | |
Defined in PlutusLedgerApi.V3.Data.Contexts | |
| Pretty Voter Source # | |
Defined in PlutusLedgerApi.V3.Data.Contexts | |
| Pretty MintValue Source # | |
Defined in PlutusLedgerApi.V3.Data.MintValue | |
| Pretty TxId Source # | using hex encoding |
Defined in PlutusLedgerApi.V3.Data.Tx | |
| Pretty TxOutRef Source # | |
Defined in PlutusLedgerApi.V3.Data.Tx | |
| Pretty MintValue Source # | |
Defined in PlutusLedgerApi.V3.MintValue | |
| Pretty TxId Source # | using hex encoding |
Defined in PlutusLedgerApi.V3.Tx | |
| Pretty TxOutRef Source # | |
Defined in PlutusLedgerApi.V3.Tx | |
| Pretty BuiltinByteStringHex Source # | |
Defined in PlutusTx.Builtins.HasOpaque | |
| Pretty BuiltinByteStringUtf8 Source # | |
Defined in PlutusTx.Builtins.HasOpaque Methods pretty :: BuiltinByteStringUtf8 -> Doc ann # prettyList :: [BuiltinByteStringUtf8] -> Doc ann # | |
| Pretty BuiltinBLS12_381_G1_Element Source # | |
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 Source # | |
Defined in PlutusTx.Builtins.Internal Methods pretty :: BuiltinBLS12_381_G2_Element -> Doc ann # prettyList :: [BuiltinBLS12_381_G2_Element] -> Doc ann # | |
| Pretty BuiltinBLS12_381_MlResult Source # | |
Defined in PlutusTx.Builtins.Internal Methods pretty :: BuiltinBLS12_381_MlResult -> Doc ann # prettyList :: [BuiltinBLS12_381_MlResult] -> Doc ann # | |
| Pretty BuiltinByteString Source # | |
Defined in PlutusTx.Builtins.Internal | |
| Pretty BuiltinData Source # | |
Defined in PlutusTx.Builtins.Internal | |
| Pretty CovLoc Source # | |
Defined in PlutusTx.Coverage | |
| Pretty CoverageAnnotation Source # | |
Defined in PlutusTx.Coverage | |
| Pretty CoverageMetadata Source # | |
Defined in PlutusTx.Coverage | |
| Pretty CoverageReport Source # | |
Defined in PlutusTx.Coverage | |
| Pretty Metadata Source # | |
Defined in PlutusTx.Coverage | |
| Pretty Rational Source # | |
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 (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 BlsKey) Source # | |
| 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 BlsKey) Source # | |
Defined in Cardano.Api.Key.Internal.Leios | |
| 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 BlsKey) Source # | |
Defined in Cardano.Api.Key.Internal.Leios Methods pretty :: VerificationKey BlsKey -> Doc ann # prettyList :: [VerificationKey BlsKey] -> 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) Source # | |
Defined in Cardano.Ledger.Plutus.Language | |
| Pretty (PlutusArgs 'PlutusV1) Source # | |
Defined in Cardano.Ledger.Plutus.Language | |
| Pretty (PlutusArgs 'PlutusV2) Source # | |
Defined in Cardano.Ledger.Plutus.Language | |
| Pretty (PlutusArgs 'PlutusV3) Source # | |
Defined in Cardano.Ledger.Plutus.Language | |
| Pretty (PlutusArgs 'PlutusV4) Source # | |
Defined in Cardano.Ledger.Plutus.Language | |
| Pretty a => Pretty (NonEmpty a) # | |
Defined in Prettyprinter.Internal | |
| Pretty a => Pretty (Identity a) # | |
Defined in Prettyprinter.Internal | |
| Pretty (BuiltinSemanticsVariant DefaultFun) Source # | |
Defined in PlutusCore.Default.Builtins Methods pretty :: BuiltinSemanticsVariant DefaultFun -> Doc ann # prettyList :: [BuiltinSemanticsVariant DefaultFun] -> Doc ann # | |
| Pretty ann => Pretty (Kind ann) Source # | |
Defined in PlutusCore.Core.Instance.Pretty.Default | |
| Pretty a => Pretty (Normalized a) Source # | |
Defined in PlutusCore.Core.Type | |
| Pretty (DefaultUni a) Source # | This always pretty-prints parens around type applications (e.g. |
Defined in PlutusCore.Default.Universe | |
| Pretty ann => Pretty (UniqueError ann) Source # | |
Defined in PlutusCore.Error | |
| PrettyClassic a => Pretty (EvaluationResult a) Source # | |
Defined in PlutusCore.Evaluation.Result | |
| PrettyReadable a => Pretty (AsReadable a) Source # | |
Defined in PlutusCore.Pretty.Readable | |
| Pretty (SomeTypeIn DefaultUni) Source # | |
Defined in PlutusCore.Default.Universe Methods pretty :: SomeTypeIn DefaultUni -> Doc ann # prettyList :: [SomeTypeIn DefaultUni] -> Doc ann # | |
| Pretty (SomeTypeIn uni) => Pretty (SomeTypeIn (Kinded uni)) Source # | |
Defined in PlutusCore.Pretty.PrettyConst Methods pretty :: SomeTypeIn (Kinded uni) -> Doc ann # prettyList :: [SomeTypeIn (Kinded uni)] -> Doc ann # | |
| (Show fun, Ord fun) => Pretty (CekExTally fun) Source # | |
| (Show fun, Ord fun) => Pretty (TallyingSt fun) Source # | |
| Show fun => Pretty (ExBudgetCategory fun) Source # | |
| Pretty a => Pretty (Provenance a) # | |
Defined in PlutusIR.Compiler.Provenance | |
| (Pretty a, ToData a, UnsafeFromData a) => Pretty (Extended a) Source # | |
Defined in PlutusLedgerApi.V1.Data.Interval | |
| (Pretty a, ToData a, UnsafeFromData a) => Pretty (Interval a) Source # | |
Defined in PlutusLedgerApi.V1.Data.Interval | |
| (Pretty a, ToData a, UnsafeFromData a) => Pretty (LowerBound a) Source # | |
Defined in PlutusLedgerApi.V1.Data.Interval | |
| (Pretty a, ToData a, UnsafeFromData a) => Pretty (UpperBound a) Source # | |
Defined in PlutusLedgerApi.V1.Data.Interval | |
| Pretty a => Pretty (Extended a) Source # | |
Defined in PlutusLedgerApi.V1.Interval | |
| Pretty a => Pretty (Interval a) Source # | |
Defined in PlutusLedgerApi.V1.Interval | |
| Pretty a => Pretty (LowerBound a) Source # | |
Defined in PlutusLedgerApi.V1.Interval | |
| Pretty a => Pretty (UpperBound a) Source # | |
Defined in PlutusLedgerApi.V1.Interval | |
| Show a => Pretty (PrettyShow a) Source # | |
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 a, Pretty b) => Pretty (Either a b) Source # | |
Defined in PlutusPrelude | |
| (PrettyClassic tyname, Pretty ann) => Pretty (TyVarDecl tyname ann) # | |
Defined in PlutusIR.Core.Instance.Pretty | |
| (Pretty structural, Pretty operational) => Pretty (EvaluationError structural operational) Source # | |
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) Source # | |
Defined in PlutusCore.Evaluation.ErrorWithCause Methods pretty :: ErrorWithCause err cause -> Doc ann # prettyList :: [ErrorWithCause err cause] -> Doc ann # | |
| (Closed uni, Everywhere uni PrettyConst) => Pretty (ValueOf uni a) Source # | |
Defined in PlutusCore.Pretty.PrettyConst | |
| (Foldable f, Pretty a) => Pretty (PrettyFoldable f a) Source # | |
Defined in Prettyprinter.Extras | |
| (Pretty k, Pretty v) => Pretty (Map k v) Source # | |
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 # | |
| (Closed uni, Everywhere uni PrettyConst) => Pretty (Some (ValueOf uni)) Source # | |
| (Pretty a1, Pretty a2) => Pretty (a1, a2) # | |
Defined in Prettyprinter.Internal | |
| Pretty a => Pretty (Const a b) # | |
Defined in Prettyprinter.Internal | |
| (PrettyClassic tyname, PrettyParens (SomeTypeIn uni), Pretty ann) => Pretty (Type tyname uni ann) Source # | |
Defined in PlutusCore.Core.Instance.Pretty.Default | |
| Pretty (CekState uni fun ann) Source # | |
| (PrettyUni uni, Pretty fun, Pretty ann) => Pretty (Error uni fun ann) # | |
Defined in PlutusIR.Error | |
| (KnownSymbol a, Pretty b) => Pretty (Tagged a b) Source # | |
Defined in Prettyprinter.Extras | |
| (Pretty a1, Pretty a2, Pretty a3) => Pretty (a1, a2, a3) # | |
Defined in Prettyprinter.Internal | |
| (PrettyClassic tyname, PrettyClassic name, PrettyParens (SomeTypeIn uni), Pretty ann) => Pretty (VarDecl tyname name uni ann) # | |
Defined in PlutusIR.Core.Instance.Pretty | |
| (PrettyClassic name, PrettyUni uni, Pretty fun, Pretty ann) => Pretty (Program name uni fun ann) Source # | |
| (PrettyClassic name, PrettyUni uni, Pretty fun, Pretty ann) => Pretty (Term name uni fun ann) Source # | |
| (PrettyClassic tyname, PrettyClassic name, PrettyUni uni, Pretty ann) => Pretty (Datatype tyname name uni ann) # | |
Defined in PlutusIR.Core.Instance.Pretty | |
| (PrettyClassic tyname, PrettyClassic name, PrettyUni uni, Pretty fun, Pretty ann) => Pretty (Program tyname name uni fun ann) Source # | |
Defined in PlutusCore.Core.Instance.Pretty.Default | |
| (PrettyClassic tyname, PrettyClassic name, PrettyUni uni, Pretty fun, Pretty ann) => Pretty (Term tyname name uni fun ann) Source # | |
Defined in PlutusCore.Core.Instance.Pretty.Default | |
| (PrettyClassic tyname, PrettyClassic name, PrettyUni uni, Pretty fun, Pretty ann) => Pretty (Binding tyname name uni fun ann) # | |
Defined in PlutusIR.Core.Instance.Pretty | |
| (PrettyClassic tyname, PrettyClassic name, PrettyUni uni, Pretty fun, Pretty ann) => Pretty (Program tyname name uni fun ann) # | |
Defined in PlutusIR.Core.Instance.Pretty | |
| (PrettyClassic tyname, PrettyClassic name, PrettyUni uni, Pretty fun, Pretty ann) => Pretty (Term tyname name uni fun ann) # | |
Defined in PlutusIR.Core.Instance.Pretty | |
Constructors
| ShowOf a |
docToLazyText :: Doc AnsiStyle -> Text Source #
docToString :: Doc AnsiStyle -> String Source #
renderBuildable :: Buildable a => a -> Text Source #
prettyException :: Exception a => a -> Doc ann Source #
Short hand for pretty . displayException
Useful reexports
A space efficient, packed, unboxed Unicode text type.
Instances
| FromJSON Text # | |||||||||||||
Defined in Data.Aeson.Types.FromJSON Methods parseJSON :: Value -> Parser Text # parseJSONList :: Value -> Parser [Text] # omittedField :: Maybe Text # | |||||||||||||
| FromJSONKey Text # | |||||||||||||
Defined in Data.Aeson.Types.FromJSON | |||||||||||||
| ToJSON Text # | |||||||||||||
Defined in Data.Aeson.Types.ToJSON | |||||||||||||
| ToJSONKey Text # | |||||||||||||
Defined in Data.Aeson.Types.ToJSON | |||||||||||||
| Chunk Text # | |||||||||||||
Defined in Data.Attoparsec.Internal.Types Associated Types
Methods pappendChunk :: State Text -> Text -> State Text atBufferEnd :: Text -> State Text -> Pos bufferElemAt :: Text -> Pos -> State Text -> Maybe (ChunkElem Text, Int) chunkElemToChar :: Text -> ChunkElem Text -> Char | |||||||||||||
| PrintfArg Text Source # | Since: text-1.2.2.0 | ||||||||||||
Defined in Data.Text | |||||||||||||
| Binary Text Source # | Since: text-1.2.1.0 | ||||||||||||
| FromCBOR Text Source # | |||||||||||||
| ToCBOR Text Source # | |||||||||||||
| DecCBOR Text Source # | |||||||||||||
| EncCBOR Text Source # | |||||||||||||
| NFData Text Source # | |||||||||||||
| Buildable Text # | |||||||||||||
Defined in Formatting.Buildable | |||||||||||||
| FromBuilder Text # | |||||||||||||
Defined in Formatting.FromBuilder Methods fromBuilder :: Builder -> Text | |||||||||||||
| Monoid Text Source # | |||||||||||||
| Semigroup Text Source # | Beware: Since: text-1.2.2.0 | ||||||||||||
| Eq Text Source # | |||||||||||||
| Ord Text Source # | |||||||||||||
| Data Text Source # | This instance preserves data abstraction at the cost of inefficiency. We omit reflection services for the sake of data abstraction. This instance was created by copying the updated behavior of
The original discussion is archived here: could we get a Data instance for Data.Text.Text? The followup discussion that changed the behavior of | ||||||||||||
Defined in Data.Text Methods gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> Text -> c Text Source # gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c Text Source # toConstr :: Text -> Constr Source # dataTypeOf :: Text -> DataType Source # dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c Text) Source # dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c Text) Source # gmapT :: (forall b. Data b => b -> b) -> Text -> Text Source # gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> Text -> r Source # gmapQr :: forall r r'. (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> Text -> r Source # gmapQ :: (forall d. Data d => d -> u) -> Text -> [u] Source # gmapQi :: Int -> (forall d. Data d => d -> u) -> Text -> u Source # gmapM :: Monad m => (forall d. Data d => d -> m d) -> Text -> m Text Source # gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> Text -> m Text Source # gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> Text -> m Text Source # | |||||||||||||
| IsString Text Source # | Performs replacement on invalid scalar values:
| ||||||||||||
| IsList Text Source # | Performs replacement on invalid scalar values:
Since: text-1.2.0.0 | ||||||||||||
| Read Text Source # | |||||||||||||
| Show Text Source # | |||||||||||||
| Hashable Text # | |||||||||||||
Defined in Data.Hashable.Class | |||||||||||||
| Ixed Text # | |||||||||||||
Defined in Control.Lens.At | |||||||||||||
| Stream Text # | |||||||||||||
Defined in Text.Megaparsec.Stream Associated Types
Methods tokenToChunk :: Proxy Text -> Token Text -> Tokens Text tokensToChunk :: Proxy Text -> [Token Text] -> Tokens Text chunkToTokens :: Proxy Text -> Tokens Text -> [Token Text] chunkLength :: Proxy Text -> Tokens Text -> Int chunkEmpty :: Proxy Text -> Tokens Text -> Bool take1_ :: Text -> Maybe (Token Text, Text) takeN_ :: Int -> Text -> Maybe (Tokens Text, Text) takeWhile_ :: (Token Text -> Bool) -> Text -> (Tokens Text, Text) | |||||||||||||
| TraversableStream Text # | |||||||||||||
Defined in Text.Megaparsec.Stream Methods reachOffset :: Int -> PosState Text -> (Maybe String, PosState Text) reachOffsetNoLine :: Int -> PosState Text -> PosState Text | |||||||||||||
| VisualStream Text # | |||||||||||||
Defined in Text.Megaparsec.Stream | |||||||||||||
| MemPack Text # | |||||||||||||
| MonoZip Text # | |||||||||||||
| GrowingAppend Text # | |||||||||||||
Defined in Data.MonoTraversable | |||||||||||||
| MonoFoldable Text # | |||||||||||||
Defined in Data.MonoTraversable Methods ofoldMap :: Monoid m => (Element Text -> m) -> Text -> m ofoldr :: (Element Text -> b -> b) -> b -> Text -> b ofoldl' :: (a -> Element Text -> a) -> a -> Text -> a otoList :: Text -> [Element Text] oall :: (Element Text -> Bool) -> Text -> Bool oany :: (Element Text -> Bool) -> Text -> Bool ocompareLength :: Integral i => Text -> i -> Ordering otraverse_ :: Applicative f => (Element Text -> f b) -> Text -> f () ofor_ :: Applicative f => Text -> (Element Text -> f b) -> f () omapM_ :: Applicative m => (Element Text -> m ()) -> Text -> m () oforM_ :: Applicative m => Text -> (Element Text -> m ()) -> m () ofoldlM :: Monad m => (a -> Element Text -> m a) -> a -> Text -> m a ofoldMap1Ex :: Semigroup m => (Element Text -> m) -> Text -> m ofoldr1Ex :: (Element Text -> Element Text -> Element Text) -> Text -> Element Text ofoldl1Ex' :: (Element Text -> Element Text -> Element Text) -> Text -> Element Text headEx :: Text -> Element Text lastEx :: Text -> Element Text unsafeHead :: Text -> Element Text unsafeLast :: Text -> Element Text maximumByEx :: (Element Text -> Element Text -> Ordering) -> Text -> Element Text minimumByEx :: (Element Text -> Element Text -> Ordering) -> Text -> Element Text | |||||||||||||
| MonoFunctor Text # | |||||||||||||
| MonoPointed Text # | |||||||||||||
Defined in Data.MonoTraversable | |||||||||||||
| MonoTraversable Text # | |||||||||||||
Defined in Data.MonoTraversable | |||||||||||||
| IsSequence Text # | |||||||||||||
Defined in Data.Sequences Methods fromList :: [Element Text] -> Text lengthIndex :: Text -> Index Text break :: (Element Text -> Bool) -> Text -> (Text, Text) span :: (Element Text -> Bool) -> Text -> (Text, Text) dropWhile :: (Element Text -> Bool) -> Text -> Text takeWhile :: (Element Text -> Bool) -> Text -> Text splitAt :: Index Text -> Text -> (Text, Text) unsafeSplitAt :: Index Text -> Text -> (Text, Text) take :: Index Text -> Text -> Text unsafeTake :: Index Text -> Text -> Text drop :: Index Text -> Text -> Text unsafeDrop :: Index Text -> Text -> Text dropEnd :: Index Text -> Text -> Text partition :: (Element Text -> Bool) -> Text -> (Text, Text) uncons :: Text -> Maybe (Element Text, Text) unsnoc :: Text -> Maybe (Text, Element Text) filter :: (Element Text -> Bool) -> Text -> Text filterM :: Monad m => (Element Text -> m Bool) -> Text -> m Text replicate :: Index Text -> Element Text -> Text replicateM :: Monad m => Index Text -> m (Element Text) -> m Text groupBy :: (Element Text -> Element Text -> Bool) -> Text -> [Text] groupAllOn :: Eq b => (Element Text -> b) -> Text -> [Text] subsequences :: Text -> [Text] permutations :: Text -> [Text] unsafeTail :: Text -> Text unsafeInit :: Text -> Text index :: Text -> Index Text -> Maybe (Element Text) indexEx :: Text -> Index Text -> Element Text unsafeIndex :: Text -> Index Text -> Element Text | |||||||||||||
| SemiSequence Text # | |||||||||||||
Defined in Data.Sequences Associated Types
| |||||||||||||
| Textual Text # | |||||||||||||
| NoThunks Text # | |||||||||||||
| Condense Text Source # | |||||||||||||
| ExMemoryUsage Text Source # | |||||||||||||
Defined in PlutusCore.Evaluation.Machine.ExMemoryUsage Methods memoryUsage :: Text -> CostRose Source # | |||||||||||||
| Flat Text # | |||||||||||||
| HasToBuiltin Text Source # | |||||||||||||
Defined in PlutusTx.Builtins.HasBuiltin Associated Types
| |||||||||||||
| Pretty Text # | |||||||||||||
Defined in Prettyprinter.Internal | |||||||||||||
| Render Text # | |||||||||||||
Defined in Text.PrettyBy.Default | |||||||||||||
| Serialise Text # | |||||||||||||
Defined in Codec.Serialise.Class | |||||||||||||
| Pretty Text # | |||||||||||||
Defined in Text.PrettyPrint.Annotated.WL | |||||||||||||
| ToYaml Text # | |||||||||||||
Defined in Data.Yaml.Builder | |||||||||||||
| FromYaml Text # | |||||||||||||
Defined in Data.Yaml.Parser | |||||||||||||
| Lift Text Source # | Since: text-1.2.4.0 | ||||||||||||
| LazySequence Text Text # | |||||||||||||
Defined in Data.Sequences | |||||||||||||
| Utf8 Text ByteString # | |||||||||||||
Defined in Data.Sequences | |||||||||||||
| DefaultPrettyBy config Text # | |||||||||||||
Defined in Text.PrettyBy.Internal Methods defaultPrettyBy :: config -> Text -> Doc ann defaultPrettyListBy :: config -> [Text] -> Doc ann | |||||||||||||
| NonDefaultPrettyBy ConstConfig Text | |||||||||||||
Defined in PlutusCore.Pretty.PrettyConst Methods nonDefaultPrettyBy :: ConstConfig -> Text -> Doc ann nonDefaultPrettyListBy :: ConstConfig -> [Text] -> Doc ann | |||||||||||||
| PrettyDefaultBy config Text => PrettyBy config Text # | |||||||||||||
Defined in Text.PrettyBy.Internal | |||||||||||||
| Monad m => Stream Text m Char Source # | |||||||||||||
| KnownBuiltinTypeIn DefaultUni term Text => MakeKnownIn DefaultUni term Text Source # | |||||||||||||
Defined in PlutusCore.Default.Universe Methods makeKnown :: Text -> BuiltinResult term Source # | |||||||||||||
| KnownBuiltinTypeIn DefaultUni term Text => ReadKnownIn DefaultUni term Text Source # | |||||||||||||
Defined in PlutusCore.Default.Universe Methods readKnown :: term -> ReadKnownM Text Source # | |||||||||||||
| Contains DefaultUni Text Source # | |||||||||||||
Defined in PlutusCore.Default.Universe | |||||||||||||
| KnownBuiltinTypeAst tyname DefaultUni Text => KnownTypeAst tyname DefaultUni Text Source # | |||||||||||||
Defined in PlutusCore.Default.Universe Associated Types
Methods typeAst :: Type tyname DefaultUni () Source # | |||||||||||||
| a ~ Text => IsString (Parser a) # | |||||||||||||
Defined in Data.Attoparsec.Text.Internal Methods fromString :: String -> Parser a Source # | |||||||||||||
| Stream (NoShareInput Text) # | |||||||||||||
Defined in Text.Megaparsec.Stream Methods tokenToChunk :: Proxy (NoShareInput Text) -> Token (NoShareInput Text) -> Tokens (NoShareInput Text) tokensToChunk :: Proxy (NoShareInput Text) -> [Token (NoShareInput Text)] -> Tokens (NoShareInput Text) chunkToTokens :: Proxy (NoShareInput Text) -> Tokens (NoShareInput Text) -> [Token (NoShareInput Text)] chunkLength :: Proxy (NoShareInput Text) -> Tokens (NoShareInput Text) -> Int chunkEmpty :: Proxy (NoShareInput Text) -> Tokens (NoShareInput Text) -> Bool take1_ :: NoShareInput Text -> Maybe (Token (NoShareInput Text), NoShareInput Text) takeN_ :: Int -> NoShareInput Text -> Maybe (Tokens (NoShareInput Text), NoShareInput Text) takeWhile_ :: (Token (NoShareInput Text) -> Bool) -> NoShareInput Text -> (Tokens (NoShareInput Text), NoShareInput Text) | |||||||||||||
| Stream (ShareInput Text) # | |||||||||||||
Defined in Text.Megaparsec.Stream Methods tokenToChunk :: Proxy (ShareInput Text) -> Token (ShareInput Text) -> Tokens (ShareInput Text) tokensToChunk :: Proxy (ShareInput Text) -> [Token (ShareInput Text)] -> Tokens (ShareInput Text) chunkToTokens :: Proxy (ShareInput Text) -> Tokens (ShareInput Text) -> [Token (ShareInput Text)] chunkLength :: Proxy (ShareInput Text) -> Tokens (ShareInput Text) -> Int chunkEmpty :: Proxy (ShareInput Text) -> Tokens (ShareInput Text) -> Bool take1_ :: ShareInput Text -> Maybe (Token (ShareInput Text), ShareInput Text) takeN_ :: Int -> ShareInput Text -> Maybe (Tokens (ShareInput Text), ShareInput Text) takeWhile_ :: (Token (ShareInput Text) -> Bool) -> ShareInput Text -> (Tokens (ShareInput Text), ShareInput Text) | |||||||||||||
| HasInfo (DirectCodec m) Text | |||||||||||||
Defined in Cardano.KESAgent.Serialization.DirectCodec Methods info :: Proxy (DirectCodec m) -> Proxy Text -> FieldInfo (DirectCodec m) | |||||||||||||
| (MonadThrow m, MonadST m) => Serializable (DirectCodec m) Text | |||||||||||||
Defined in Cardano.KESAgent.Serialization.DirectCodec Methods encode :: Proxy (DirectCodec m) -> Text -> MonadEncode (DirectCodec m) () decode :: Proxy (DirectCodec m) -> MonadDecode (DirectCodec m) Text | |||||||||||||
| type ChunkElem Text # | |||||||||||||
Defined in Data.Attoparsec.Internal.Types | |||||||||||||
| type State Text # | |||||||||||||
Defined in Data.Attoparsec.Internal.Types type State Text = Buffer | |||||||||||||
| type Item Text Source # | |||||||||||||
| type Index Text # | |||||||||||||
Defined in Control.Lens.At | |||||||||||||
| type IxValue Text # | |||||||||||||
Defined in Control.Lens.At | |||||||||||||
| type Token Text # | |||||||||||||
Defined in Text.Megaparsec.Stream | |||||||||||||
| type Tokens Text # | |||||||||||||
Defined in Text.Megaparsec.Stream | |||||||||||||
| type Element Text # | |||||||||||||
Defined in Data.MonoTraversable | |||||||||||||
| type Index Text # | |||||||||||||
Defined in Data.Sequences | |||||||||||||
| type ToBuiltin Text Source # | |||||||||||||
Defined in PlutusTx.Builtins.HasBuiltin | |||||||||||||
| type IsBuiltin DefaultUni Text Source # | |||||||||||||
Defined in PlutusCore.Default.Universe | |||||||||||||
| type ToBinds DefaultUni acc Text Source # | |||||||||||||
Defined in PlutusCore.Default.Universe | |||||||||||||
| type ToHoles DefaultUni hole Text Source # | |||||||||||||
Defined in PlutusCore.Default.Universe | |||||||||||||
| type Token (NoShareInput Text) # | |||||||||||||
Defined in Text.Megaparsec.Stream | |||||||||||||
| type Token (ShareInput Text) # | |||||||||||||
Defined in Text.Megaparsec.Stream | |||||||||||||
| type Tokens (NoShareInput Text) # | |||||||||||||
Defined in Text.Megaparsec.Stream | |||||||||||||
| type Tokens (ShareInput Text) # | |||||||||||||
Defined in Text.Megaparsec.Stream | |||||||||||||