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

Safe HaskellSafe
LanguageHaskell2010

Text.Layout.Table.Primitives.AlignSpec

Synopsis

Documentation

data AlignSpec Source

Determines whether a column will align at a specific letter.

Instances

Default AlignSpec Source

No alignment is the default.

noAlign :: AlignSpec Source

Don't align text.

occSpecAlign :: OccSpec -> AlignSpec Source

Construct an AlignSpec by giving an occurence specification.

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.