table-layout-1.0.0.0: Format tabular data as grid or table.
Safe HaskellSafe-Inferred
LanguageHaskell2010

Text.Layout.Table.Spec.ColSpec

Synopsis

Documentation

data ColSpec Source #

Specifies the layout of a column.

Instances

Instances details
Default ColSpec Source # 
Instance details

Defined in Text.Layout.Table.Spec.ColSpec

Methods

def :: ColSpec

beginning :: Position orientation Source #

Displays at the left or top, depending on the orientation.

ellipsisCutMark :: CutMark Source #

The default CutMark is a single ellipsis unicode character on each side.

column :: LenSpec -> Position H -> AlignSpec -> CutMark -> ColSpec Source #

Smart constructor to specify a column.

defColSpec :: ColSpec Source #

The default ColSpec uses as much space as needed, positioned at the left/top (depending on orientation), does not align to any character, and uses a single unicode ellipsis on either side as a cut mark.