Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell98 |
Pretty printing functions.
Documentation
Nothing
align :: Int -> [(String, Doc)] -> Doc Source
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