hledger-1.0.1: Command-line interface for the hledger accounting tool

Safe HaskellNone
LanguageHaskell2010

Text.Tabular.AsciiWide

Description

Text.Tabular.AsciiArt from tabular-0.2.2.7, modified to treat wide characters as double width.

Synopsis

Documentation

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

:: [Int]

max width for each column

-> Header String 
-> String 

We stop rendering on the shortest list!

renderHLine Source #

Arguments

:: [Int]

width specifications

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