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

PlutusCore.Core.Instance.Pretty.Default

Description

While the flexible pretty-printing infrastructure is useful when you want it, it's helpful to have an implementation of the default Pretty typeclass that does the default thing.

Orphan instances

Pretty Name Source # 
Instance details

Methods

prettyNameDoc ann #

prettyList ∷ [Name] → Doc ann #

Pretty TyName Source # 
Instance details

Methods

prettyTyNameDoc ann #

prettyList ∷ [TyName] → Doc ann #

Pretty ann ⇒ Pretty (Kind ann) Source # 
Instance details

Methods

prettyKind ann → Doc ann0 #

prettyList ∷ [Kind ann] → Doc ann0 #

(PrettyClassic tyname, PrettyParens (SomeTypeIn uni), Pretty ann) ⇒ Pretty (Type tyname uni ann) Source # 
Instance details

Methods

prettyType tyname uni ann → Doc ann0 #

prettyList ∷ [Type tyname uni ann] → Doc ann0 #

(PrettyClassic tyname, PrettyClassic name, PrettyUni uni, Pretty fun, Pretty ann) ⇒ Pretty (Program tyname name uni fun ann) Source # 
Instance details

Methods

prettyProgram tyname name uni fun ann → Doc ann0 #

prettyList ∷ [Program tyname name uni fun ann] → Doc ann0 #

(PrettyClassic tyname, PrettyClassic name, PrettyUni uni, Pretty fun, Pretty ann) ⇒ Pretty (Term tyname name uni fun ann) Source # 
Instance details

Methods

prettyTerm tyname name uni fun ann → Doc ann0 #

prettyList ∷ [Term tyname name uni fun ann] → Doc ann0 #