Pretty printing functions.
Documentation
Pretty String | |
Pretty Doc | |
Pretty Relevance | |
Pretty Induction | |
Pretty TopLevelModuleName | |
Pretty QName | |
Pretty Name | |
Pretty Fixity | |
Pretty Literal | |
Pretty Pragma | |
Pretty OpenShortHand | |
Pretty Declaration | |
Pretty ImportedName | |
Pretty UsingOrHiding | |
Pretty ImportDirective | |
Pretty WhereClause | |
Pretty RHS | |
Pretty LHS | |
Pretty TypedBinding | |
Pretty BoundName | |
Pretty TypedBindings | |
Pretty LamBinding | |
Pretty Pattern | |
Pretty Expr | |
Pretty CompiledClauses | |
Pretty Order | |
Pretty [Declaration] | |
Pretty [Pattern] | |
Pretty e => Pretty (Arg e) | |
Pretty a => Pretty (Case a) | |
Show meta => Pretty (CallGraph meta) | Displays the recursion behaviour corresponding to a call graph. |
Pretty a => Pretty (Lisp a) | |
Pretty e => Pretty (Named String e) | |
(Integral i, HasZero b, Pretty b) => Pretty (Matrix i b) | |
(Pretty a, Pretty b) => Pretty (OutputForm' a b) |
align :: Int -> [(String, Doc)] -> DocSource
align max rows
lays out the elements of rows
in two columns,
with the second components aligned. The alignment column of the
second components is at most max
characters to the right of the
left-most column.
Precondition: max > 0
.
module Text.PrettyPrint