table-layout-0.8.0.5: Layout text as grid or table.
Text.Layout.Table.Primitives.AlignSpec
data AlignSpec Source #
Determines whether a column will align at a specific letter.
No alignment is the default.
Defined in Text.Layout.Table.Primitives.AlignSpec.Internal
Methods
def :: AlignSpec #
noAlign :: AlignSpec Source #
Don't align text.
occSpecAlign :: OccSpec -> AlignSpec Source #
Construct an AlignSpec by giving an occurence specification.
AlignSpec
predAlign :: (Char -> Bool) -> AlignSpec Source #
Align at the first match of a predicate.
charAlign :: Char -> AlignSpec Source #
Align text at the first occurence of a given Char.
Char