tabular-0.2.2.8: Two-dimensional data tables with rendering functions
Text.Tabular.AsciiArt
render :: (rh -> String) -> (ch -> String) -> (a -> String) -> Table rh ch a -> String Source #
for simplicity, we assume that each cell is rendered on a single line
renderColumns Source #
Arguments
max width for each column
We stop rendering on the shortest list!
renderHLine Source #
width specifications
renderHLine' :: [Int] -> Char -> Header String -> String Source #
padLeft :: Int -> String -> String Source #