Text.Layout.Table.Primitives.AlignInfo
data AlignInfo Source #
Specifies the length before and after an alignment position (excluding the alignment character).
Constructors
Produce an AlignInfo that is wide enough to hold inputs of both given AlignInfos.
AlignInfo
Defined in Text.Layout.Table.Primitives.AlignInfo
Methods
(<>) :: AlignInfo -> AlignInfo -> AlignInfo #
sconcat :: NonEmpty AlignInfo -> AlignInfo #
stimes :: Integral b => b -> AlignInfo -> AlignInfo #
mempty :: AlignInfo #
mappend :: AlignInfo -> AlignInfo -> AlignInfo #
mconcat :: [AlignInfo] -> AlignInfo #
showAI :: AlignInfo -> String Source #
Private show function.
widthAI :: AlignInfo -> Int Source #
The column width when using the AlignInfo.