Safe Haskell | Safe-Inferred |
---|
Pretty printing functions.
Documentation
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