table-layout-0.6.0.0: Layout text as grid or table.

Safe HaskellSafe
LanguageHaskell2010

Text.Layout.Table.Internal

Synopsis

Documentation

newtype RowGroup Source

Groups rows together, which should not be visually seperated from each other.

Constructors

RowGroup 

Fields

rows :: [[String]]
 

rowsG :: [Row String] -> RowGroup Source

Group the given rows together.

rowG :: Row String -> RowGroup Source

Make a group of a single row.

data HeaderColSpec Source

Specifies how a header is rendered.

Instances

Default HeaderColSpec Source

Header columns are usually centered.

headerColumn :: Position H -> Maybe CutMark -> HeaderColSpec Source

Smart constructor for HeaderColSpec. By omitting the cut mark it will use the one specified in the ColSpec like the other cells in that column.

type Row a = [a] Source

An alias for lists, conceptually for values with a horizontal arrangement.

type Col a = [a] Source

An alias for lists, conceptually for values with a vertical arrangement.