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