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
- horizontalDetailLine :: StringBuilder b => String -> String -> String -> String -> String -> (Maybe b, Row (Either String b)) -> b
- horizontalContentLine :: StringBuilder b => String -> String -> String -> (Maybe b, Row (Either String b)) -> b
Documentation
Arguments
:: StringBuilder b | |
=> String | The space characters that are used as padding. |
-> String | The space characters that are used as padding in the row header. |
-> String | The delimiter that is used on the left side. |
-> String | The delimiter that is used on the right side. |
-> String | The delimiter that is used for the row header separator. |
-> (Maybe b, Row (Either String b)) | Optionally a row header, along with a row of builders and separators. |
-> b | The formatted line as a |
Draw a horizontal line that will use the provided delimiters around
the content appropriately and visually separate by hSpace
.
horizontalContentLine Source #
Arguments
:: StringBuilder b | |
=> String | The delimiter that is used on the left side. |
-> String | The delimiter that is used on the right side. |
-> String | The delimiter that is used on the row header separator. |
-> (Maybe b, Row (Either String b)) | A row of builders and separators. |
-> b |
Render a line with actual content.