Safe Haskell | Safe |
---|---|
Language | Haskell2010 |
Text.Layout.Table.Style
Description
This module provides a primitive styling facility. To make your own style have a look at https://en.wikipedia.org/wiki/Box-drawing_character.
- data TableStyle = TableStyle {
- headerSepH :: Char
- headerSepLC :: Char
- headerSepRC :: Char
- headerSepC :: Char
- headerTopL :: Char
- headerTopR :: Char
- headerTopC :: Char
- headerTopH :: Char
- headerV :: Char
- groupV :: Char
- groupSepH :: Char
- groupSepC :: Char
- groupSepLC :: Char
- groupSepRC :: Char
- groupTopC :: Char
- groupTopL :: Char
- groupTopR :: Char
- groupTopH :: Char
- groupBottomC :: Char
- groupBottomL :: Char
- groupBottomR :: Char
- groupBottomH :: Char
- asciiRoundS :: TableStyle
- unicodeS :: TableStyle
- unicodeBoldHeaderS :: TableStyle
- unicodeRoundS :: TableStyle
- unicodeBoldS :: TableStyle
- unicodeBoldStripedS :: TableStyle
Documentation
data TableStyle Source
Specifies the different letters to construct the non-content structure of a table.
Constructors
TableStyle | |
Fields
|
asciiRoundS :: TableStyle Source
My usual ASCII table style.
Uses special unicode characters to draw clean thin boxes.
unicodeBoldHeaderS :: TableStyle Source
Same as unicodeS
but uses bold headers.
unicodeRoundS :: TableStyle Source
Same as unicodeS
but uses round edges.
unicodeBoldS :: TableStyle Source
Uses bold lines.
unicodeBoldStripedS :: TableStyle Source
Uses bold lines with exception of group seperators, which are striped slim.