Safe Haskell | Safe-Infered |
---|
- data Justification
- data ColumnSpec = ColumnSpec {
- justification :: Justification
- width :: Width
- padSpec :: TextSpec
- bits :: [Chunk]
- newtype Width = Width {}
- row :: [ColumnSpec] -> [Chunk]
Documentation
data Justification Source
How to justify cells. LeftJustify leaves the right side ragged. RightJustify leaves the left side ragged.
data ColumnSpec Source
A cell of text output. You tell the cell how to justify itself and how wide it is. You also tell it the background colors to use. The cell will be appropriately justified (that is, text aligned between left and right margins) and padded (with lines of blank text added on the bottom as needed) when joined with other cells into a Row.
ColumnSpec | |
|
How wide the text of a chunk is.
row :: [ColumnSpec] -> [Chunk]Source