Safe Haskell | None |
---|---|
Language | Haskell2010 |
Text.Tabular.AsciiWide
Description
Text.Tabular.AsciiArt from tabular-0.2.2.7, modified to treat wide characters as double width.
Synopsis
- render :: Bool -> (rh -> String) -> (ch -> String) -> (a -> String) -> Table rh ch a -> String
- verticalBar :: Bool -> Char
- leftBar :: Bool -> String
- rightBar :: Bool -> String
- midBar :: Bool -> String
- doubleMidBar :: Bool -> String
- renderColumns :: Bool -> [Int] -> Header String -> String
- renderHLine :: VPos -> Bool -> [Int] -> Header String -> Properties -> [String]
- renderHLine' :: VPos -> Bool -> Properties -> [Int] -> Header String -> String
- data VPos
- data HPos
- boxchar :: VPos -> HPos -> Properties -> Properties -> Bool -> String
- pick :: String -> String -> Bool -> String
- lineart :: Properties -> Properties -> Properties -> Properties -> Bool -> String
Documentation
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
verticalBar :: Bool -> Char Source #
doubleMidBar :: Bool -> String Source #
We stop rendering on the shortest list!
renderHLine' :: VPos -> Bool -> Properties -> [Int] -> Header String -> String Source #
boxchar :: VPos -> HPos -> Properties -> Properties -> Bool -> String Source #
lineart :: Properties -> Properties -> Properties -> Properties -> Bool -> String Source #