Safe Haskell | Safe |
---|---|
Language | Haskell2010 |
This module provides a primitive styling facility. To make your own style have a look at https://en.wikipedia.org/wiki/Box-drawing_character.
Synopsis
- 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
- asciiS :: TableStyle
- unicodeS :: TableStyle
- unicodeBoldHeaderS :: TableStyle
- unicodeRoundS :: TableStyle
- unicodeBoldS :: TableStyle
- unicodeBoldStripedS :: TableStyle
- unicodeDoubleFrameS :: TableStyle
Documentation
data TableStyle Source #
Specifies the different letters to construct the non-content structure of a table.
TableStyle | |
|
asciiRoundS :: TableStyle Source #
My usual ASCII table style.
asciiS :: TableStyle Source #
Uses lines and plus for joints.
unicodeS :: TableStyle Source #
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.
unicodeDoubleFrameS :: TableStyle Source #
Draw every line with a double frame.