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

Text.Layout.Table.Spec.CutMark

Synopsis

Documentation

data CutMark Source #

Specifies a cut mark that is used whenever content is cut to fit into a cell. If the cut mark itself is too small to fit into a cell it may be cut as well.

Instances

Instances details
Show CutMark Source # 
Instance details

Defined in Text.Layout.Table.Spec.CutMark

Methods

showsPrec :: Int -> CutMark -> ShowS

show :: CutMark -> String

showList :: [CutMark] -> ShowS

Default CutMark Source #

A single ellipsis unicode character is used to show cut marks.

Instance details

Defined in Text.Layout.Table.Spec.CutMark

Methods

def :: CutMark

Eq CutMark Source # 
Instance details

Defined in Text.Layout.Table.Spec.CutMark

Methods

(==) :: CutMark -> CutMark -> Bool

(/=) :: CutMark -> CutMark -> Bool

doubleCutMark :: String -> String -> CutMark Source #

Specify two different cut marks, one for cuts on the left and one for cuts on the right.

singleCutMark :: String -> CutMark Source #

Use the cut mark on both sides by reversing it on the other.

noCutMark :: CutMark Source #

Do not show any cut mark when content is cut.

leftMark :: CutMark -> String Source #

rightMark :: CutMark -> String Source #

ellipsisCutMark :: CutMark Source #

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