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