text-show-instances-3.5: Additional instances for text-show

Copyright(C) 2014-2017 Ryan Scott
LicenseBSD-style (see the file LICENSE)
MaintainerRyan Scott
StabilityProvisional
PortabilityGHC
Safe HaskellNone
LanguageHaskell2010

TextShow.Language.Haskell.TH

Contents

Description

Monomorphic TextShow functions for data types in the template-haskell library.

Since: 2

Synopsis

Documentation

showbAnnLookupPrec :: Int -> AnnLookup -> Builder Source #

Convert an AnnLookup to a Builder with the given precedence. This function is only available with template-haskell-2.9.0.0 or later.

Since: 2

showbAnnTargetPrec :: Int -> AnnTarget -> Builder Source #

Convert an AnnTarget to a Builder with the given precedence. This function is only available with template-haskell-2.9.0.0 or later.

Since: 2

showbBangPrec :: Int -> Bang -> Builder Source #

Convert a Bang to a Builder with the given precedence. This function is only available with template-haskell-2.11.0.0 or later.

Since: 3

showbBodyPrec :: Int -> Body -> Builder Source #

Convert a Body to a Builder with the given precedence.

Since: 2

showbCallconv :: Callconv -> Builder Source #

Convert a Callconv to a Builder.

Since: 2

showbClausePrec :: Int -> Clause -> Builder Source #

Convert a Clause to a Builder with the given precedence.

Since: 2

showbConPrec :: Int -> Con -> Builder Source #

Convert a Con to a Builder with the given precedence.

Since: 2

showbDecidedStrictness :: DecidedStrictness -> Builder Source #

Convert a DecidedStrictness to a Builder. This function is only available with template-haskell-2.11.0.0 or later.

Since: 3

showbDecPrec :: Int -> Dec -> Builder Source #

Convert a Dec to a Builder with the given precedence.

Since: 2

showbExpPrec :: Int -> Exp -> Builder Source #

Convert an Exp to a Builder with the given precedence.

Since: 2

showbFamilyResultSigPrec :: Int -> FamilyResultSig -> Builder Source #

Convert a FamilyResultSig to a Builder with the given precedence. This function is only available with template-haskell-2.11.0.0 or later.

Since: 3

showbFixityPrec :: Int -> Fixity -> Builder Source #

Convert a Fixity to a Builder with the given precedence.

Since: 2

showbForeignPrec :: Int -> Foreign -> Builder Source #

Convert a Foreign to a Builder with the given precedence.

Since: 2

showbFunDepPrec :: Int -> FunDep -> Builder Source #

Convert a FunDep to a Builder with the given precedence.

Since: 2

showbGuardPrec :: Int -> Guard -> Builder Source #

Convert a Guard to a Builder with the given precedence.

Since: 2

showbInfoPrec :: Int -> Info -> Builder Source #

Convert an Info to a Builder with the given precedence.

Since: 2

showbInjectivityAnnPrec :: Int -> InjectivityAnn -> Builder Source #

Convert an InjectivityAnn to a Builder with the given precedence. This function is only available with template-haskell-2.11.0.0 or later.

Since: 3

showbInline :: Inline -> Builder Source #

Convert an Inline to a Builder. This function is only available with template-haskell-2.8.0.0 or later.

Since: 2

showbKindPrec :: Int -> Kind -> Builder Source #

Convert a Kind to a Builder with the given precedence.

Since: 2

showbLitPrec :: Int -> Dec -> Builder Source #

Convert a Lit to a Builder with the given precedence.

Since: 2

showbLocPrec :: Int -> Loc -> Builder Source #

Convert a Loc to a Builder with the given precedence.

Since: 2

showbMatchPrec :: Int -> Match -> Builder Source #

Convert a Match to a Builder with the given precedence.

Since: 2

showbModNamePrec :: Int -> ModName -> Builder Source #

Convert a ModName to a Builder with the given precedence.

Since: 2

showbModulePrec :: Int -> Module -> Builder Source #

Convert a Module to a Builder with the given precedence. This function is only available with template-haskell-2.9.0.0 or later.

Since: 2

showbModuleInfoPrec :: Int -> ModuleInfo -> Builder Source #

Convert a ModuleInfo to a Builder with the given precedence. This function is only available with template-haskell-2.9.0.0 or later.

Since: 2

showbName :: Name -> Builder Source #

Convert a Name to a Builder.

Since: 2

showbName' :: NameIs -> Name -> Builder Source #

Convert a Name to a Builder with the given NameIs settings.

Since: 2

showbNameFlavourPrec :: Int -> NameFlavour -> Builder Source #

Convert a NameFlavour to a Builder with the given precedence.

Since: 3.3

showbNameSpace :: NameSpace -> Builder Source #

Convert a NameSpace to a Builder.

Since: 3.3

showbOccNamePrec :: Int -> OccName -> Builder Source #

Convert an OccName to a Builder with the given precedence.

Since: 2

showbOverlap :: Overlap -> Builder Source #

Convert an Overlap to a Builder. This function is only available with template-haskell-2.11.0.0 or later.

Since: 3.2.1

showbPatPrec :: Int -> Pat -> Builder Source #

Convert a Pat to a Builder with the given precedence.

Since: 2

showbPhasesPrec :: Int -> Phases -> Builder Source #

Convert a Phases to a Builder with the given precedence. This function is only available with template-haskell-2.8.0.0 or later.

Since: 2

showbPkgNamePrec :: Int -> PkgName -> Builder Source #

Convert a PkgName to a Builder with the given precedence.

Since: 2

showbPragmaPrec :: Int -> Pragma -> Builder Source #

Convert a Pragma to a Builder with the given precedence.

Since: 2

showbPredPrec :: Int -> Pred -> Builder Source #

Convert a Pred to a Builder with the given precedence.

Since: 2

showbRangePrec :: Int -> Range -> Builder Source #

Convert a Range to a Builder with the given precedence.

Since: 2

showbRole :: Role -> Builder Source #

Convert a Role to a Builder. This function is only available with template-haskell-2.9.0.0 or later.

Since: 2

showbRuleBndrPrec :: Int -> RuleBndr -> Builder Source #

Convert a RuleBndr to a Builder with the given precedence. This function is only available with template-haskell-2.8.0.0 or later.

Since: 2

showbRuleMatch :: RuleMatch -> Builder Source #

Convert a RuleMatch to a Builder. This function is only available with template-haskell-2.8.0.0 or later.

Since: 2

showbSafety :: Safety -> Builder Source #

Convert a Safety to a Builder.

Since: 2

showbSourceStrictness :: SourceStrictness -> Builder Source #

Convert a SourceStrictness to a Builder. This function is only available with template-haskell-2.11.0.0 or later.

Since: 3

showbSourceUnpackedness :: SourceUnpackedness -> Builder Source #

Convert a SourceUnpackedness to a Builder. This function is only available with template-haskell-2.11.0.0 or later.

Since: 3

showbStmtPrec :: Int -> Stmt -> Builder Source #

Convert a Stmt to a Builder with the given precedence.

Since: 2

showbStrictPrec :: Int -> Strict -> Builder Source #

Convert a Strict to a Builder with the given precedence. Note that Strict is a type synonym for Bang on template-haskell-2.11.0.0 and later, and precedence matters for Bang. On earlier versions of template-haskell, however, the precedence argument is ignored.

Since: 3

showbTypeFamilyHeadPrec :: Int -> TypeFamilyHead -> Builder Source #

Convert an TypeFamilyHead to a Builder with the given precedence. This function is only available with template-haskell-2.11.0.0 or later.

Since: 3

showbTyLitPrec :: Int -> TyLit -> Builder Source #

Convert a TyLit to a Builder with the given precedence. This function is only available with template-haskell-2.8.0.0 or later.

Since: 2

showbTypePrec :: Int -> Type -> Builder Source #

Convert a Type to a Builder with the given precedence.

Since: 2

showbTySynEqnPrec :: Int -> TySynEqn -> Builder Source #

Convert a TySynEqn to a Builder with the given precedence. This function is only available with template-haskell-2.9.0.0 or later.

Since: 2

showbTyVarBndrPrec :: Int -> TyVarBndr -> Builder Source #

Convert a TyVarBndr to a Builder with the given precedence.

Since: 2

showbDoc :: Doc -> Builder Source #

Convert a Doc to a Builder.

Since: 2

Orphan instances

TextShow Exp Source # 
TextShow Match Source # 
TextShow Clause Source # 
TextShow Pat Source # 
TextShow Type Source # 
TextShow Dec Source # 
TextShow Name Source # 
TextShow FunDep Source # 
TextShow TyVarBndr Source # 
TextShow InjectivityAnn Source # 
TextShow Overlap Source # 
TextShow Doc Source # 
TextShow ModName Source # 
TextShow PkgName Source # 
TextShow Module Source # 
TextShow OccName Source # 
TextShow NameFlavour Source # 
TextShow NameSpace Source # 
TextShow Loc Source # 
TextShow Info Source # 
TextShow ModuleInfo Source # 
TextShow Fixity Source # 
TextShow FixityDirection Source # 
TextShow Lit Source # 
TextShow Body Source # 
TextShow Guard Source # 
TextShow Stmt Source # 
TextShow Range Source # 
TextShow TypeFamilyHead Source # 
TextShow TySynEqn Source # 
TextShow FamFlavour Source # 
TextShow Foreign Source # 
TextShow Callconv Source # 
TextShow Safety Source # 
TextShow Pragma Source # 
TextShow Inline Source # 
TextShow RuleMatch Source # 
TextShow Phases Source # 
TextShow RuleBndr Source # 
TextShow AnnTarget Source # 
TextShow SourceUnpackedness Source # 
TextShow SourceStrictness Source # 
TextShow DecidedStrictness Source # 
TextShow Con Source # 
TextShow Bang Source # 
TextShow FamilyResultSig Source # 
TextShow TyLit Source # 
TextShow Role Source # 
TextShow AnnLookup Source #