tabular-0.2.1.0: Two-dimensional data tables with rendering functions

Text.Tabular.AsciiArt

Synopsis

Documentation

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

:: [Int]

max width for each column

-> Header String 
-> String 

We stop rendering on the shortest list!

renderHLineSource

Arguments

:: [Int]

width specifications

-> Header String 
-> Properties 
-> [String]