Agda-2.5.4: A dependently typed functional programming language and proof assistant

Safe HaskellNone
LanguageHaskell2010

Agda.Compiler.MAlonzo.Pretty

Contents

Documentation

prettyPrint :: Pretty a => a -> String #

Orphan instances

Pretty TyVarBind # 
Instance details

Pretty QOp # 
Instance details

Methods

pretty :: QOp -> Doc #

prettyPrec :: Int -> QOp -> Doc #

prettyList :: [QOp] -> Doc #

Pretty Name # 
Instance details

Methods

pretty :: Name -> Doc #

prettyPrec :: Int -> Name -> Doc #

prettyList :: [Name] -> Doc #

Pretty QName # 
Instance details

Methods

pretty :: QName -> Doc #

prettyPrec :: Int -> QName -> Doc #

prettyList :: [QName] -> Doc #

Pretty ModuleName # 
Instance details

Pretty Literal # 
Instance details

Pretty Alt # 
Instance details

Methods

pretty :: Alt -> Doc #

prettyPrec :: Int -> Alt -> Doc #

prettyList :: [Alt] -> Doc #

Pretty Exp # 
Instance details

Methods

pretty :: Exp -> Doc #

prettyPrec :: Int -> Exp -> Doc #

prettyList :: [Exp] -> Doc #

Pretty Stmt # 
Instance details

Methods

pretty :: Stmt -> Doc #

prettyPrec :: Int -> Stmt -> Doc #

prettyList :: [Stmt] -> Doc #

Pretty Pat # 
Instance details

Methods

pretty :: Pat -> Doc #

prettyPrec :: Int -> Pat -> Doc #

prettyList :: [Pat] -> Doc #

Pretty Type # 
Instance details

Methods

pretty :: Type -> Doc #

prettyPrec :: Int -> Type -> Doc #

prettyList :: [Type] -> Doc #

Pretty Match # 
Instance details

Methods

pretty :: Match -> Doc #

prettyPrec :: Int -> Match -> Doc #

prettyList :: [Match] -> Doc #

Pretty Binds # 
Instance details

Methods

pretty :: Binds -> Doc #

prettyPrec :: Int -> Binds -> Doc #

prettyList :: [Binds] -> Doc #

Pretty Strictness # 
Instance details

Pretty ConDecl # 
Instance details

Pretty DataOrNew # 
Instance details

Pretty Decl # 
Instance details

Methods

pretty :: Decl -> Doc #

prettyPrec :: Int -> Decl -> Doc #

prettyList :: [Decl] -> Doc #

Pretty ImportSpec # 
Instance details

Pretty ImportDecl # 
Instance details

Pretty ModulePragma # 
Instance details

Pretty Module # 
Instance details

Methods

pretty :: Module -> Doc #

prettyPrec :: Int -> Module -> Doc #

prettyList :: [Module] -> Doc #