table-layout-0.9.0.1: Format tabular data as grid or table.

Safe HaskellSafe
LanguageHaskell2010

Text.Layout.Table.Primitives.AlignInfo

Synopsis

Documentation

data AlignInfo Source #

Specifies the length before and after an alignment position (excluding the alignment character).

Constructors

AlignInfo Int (Maybe Int) 
Instances
Semigroup AlignInfo Source #

Produce an AlignInfo that is wide enough to hold inputs of both given AlignInfos.

Instance details

Defined in Text.Layout.Table.Primitives.AlignInfo

Monoid AlignInfo Source # 
Instance details

Defined in Text.Layout.Table.Primitives.AlignInfo

showAI :: AlignInfo -> String Source #

Private show function.

widthAI :: AlignInfo -> Int Source #

The column width when using the AlignInfo.