Agda
Safe HaskellNone
LanguageHaskell2010

Agda.Syntax.Concrete.Pretty

Description

Pretty printer for the concrete syntax.

Synopsis

Documentation

attributesForModality :: HasOptions m => Modality -> m Doc Source #

Show the attributes necessary to recover a modality, in long-form (e.g. using at-syntax rather than dots). For the default modality, the result is at-ω (rather than the empty document). Suitable for showing modalities outside of binders.

newtype Tel Source #

Constructors

Tel Telescope 

Instances

Instances details
Pretty Tel Source # 
Instance details

Defined in Agda.Syntax.Concrete.Pretty

Orphan instances

Pretty Fixity' Source # 
Instance details

Pretty NotationPart Source # 
Instance details

Pretty BoundName Source # 
Instance details

Pretty Declaration Source # 
Instance details

Pretty DoStmt Source # 
Instance details

Pretty Expr Source # 
Instance details

Pretty LHS Source # 
Instance details

Pretty LHSCore Source # 
Instance details

Pretty LamBinding Source # 
Instance details

Pretty LamClause Source # 
Instance details

Pretty ModuleApplication Source # 
Instance details

Pretty ModuleAssignment Source # 
Instance details

Pretty OpenShortHand Source # 
Instance details

Pretty Pattern Source # 
Instance details

Pretty Pragma Source # 
Instance details

Pretty RHS Source # 
Instance details

Pretty RecordDirective Source # 
Instance details

Pretty TypedBinding Source # 
Instance details

Pretty WhereClause Source # 
Instance details

Show BoundName Source # 
Instance details

Show Declaration Source # 
Instance details

Show DoStmt Source # 
Instance details

Show Expr Source # 
Instance details

Methods

showsPrec :: Int -> Expr -> ShowS #

show :: Expr -> String #

showList :: [Expr] -> ShowS #

Show LHS Source # 
Instance details

Methods

showsPrec :: Int -> LHS -> ShowS #

show :: LHS -> String #

showList :: [LHS] -> ShowS #

Show LHSCore Source # 
Instance details

Show LamBinding Source # 
Instance details

Show LamClause Source # 
Instance details

Show Module Source # 
Instance details

Show ModuleApplication Source # 
Instance details

Show ModuleAssignment Source # 
Instance details

Show Pattern Source # 
Instance details

Show Pragma Source # 
Instance details

Show RHS Source # 
Instance details

Methods

showsPrec :: Int -> RHS -> ShowS #

show :: RHS -> String #

showList :: [RHS] -> ShowS #

Show TypedBinding Source # 
Instance details

Show WhereClause Source # 
Instance details

Pretty a => Pretty (MaybePlaceholder a) Source # 
Instance details

Pretty a => Pretty (Binder' a) Source # 
Instance details

Pretty a => Pretty (FieldAssignment' a) Source # 
Instance details

Pretty (OpApp Expr) Source # 
Instance details

Pretty a => Pretty (TacticAttribute' a) Source # 
Instance details

Pretty (ThingWithFixity Name) Source # 
Instance details

Show a => Show (Binder' a) Source # 
Instance details

Methods

showsPrec :: Int -> Binder' a -> ShowS #

show :: Binder' a -> String #

showList :: [Binder' a] -> ShowS #

Show a => Show (OpApp a) Source # 
Instance details

Methods

showsPrec :: Int -> OpApp a -> ShowS #

show :: OpApp a -> String #

showList :: [OpApp a] -> ShowS #

(Pretty a, Pretty b) => Pretty (Either a b) Source # 
Instance details

Methods

pretty :: Either a b -> Doc Source #

prettyPrec :: Int -> Either a b -> Doc Source #

prettyList :: [Either a b] -> Doc Source #