hledger-lib-1.12: Core data types, parsers and functionality for the hledger accounting tools

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 Source #

Arguments

:: Bool

pretty tables

-> (rh -> String) 
-> (ch -> String) 
-> (a -> String) 
-> Table rh ch a 
-> String 

for simplicity, we assume that each cell is rendered on a single line

renderColumns Source #

Arguments

:: Bool

pretty

-> [Int]

max width for each column

-> Header String 
-> String 

We stop rendering on the shortest list!

renderHLine Source #

Arguments

:: Bool

pretty

-> [Int]

width specifications

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