Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
Text.Layout.Table.Primitives.Table
Description
This module provides primitives for generating tables. Tables are generated
line by line thus the functions in this module produce StringBuilder
s that
contain a line.
Synopsis
- hLineDetail :: StringBuilder b => Char -> Char -> Char -> Char -> Row b -> b
- hLine :: StringBuilder b => Char -> Char -> Row b -> b
- hLineContent :: StringBuilder b => Char -> Row b -> b
Documentation
Arguments
:: StringBuilder b | |
=> Char | The space character that is used as padding. |
-> Char | The delimiter that is used on the left side. |
-> Char | The delimiter that is used in between cells. |
-> Char | The delimiter that is sued on the right side. |
-> Row b | A row of builders. |
-> b | The formatted line as a |
Draw a horizontal line that will use the delimiters around the
appropriately and visually separate by hSpace
.
Arguments
:: StringBuilder b | |
=> Char | The space character that is used as padding. |
-> Char | The delimiter that is used for everything. |
-> Row b | A row of builders. |
-> b | The formatted line as a |
A simplified version of hLineDetail
that will use the same delimiter
for everything.
Arguments
:: StringBuilder b | |
=> Char | The delimiter that is used for everything. |
-> Row b | A row of builders. |
-> b |
Render a line with actual content.