safe-coloured-text-layout-0.0.0.0: Safely layout output coloured text
Safe HaskellNone
LanguageHaskell2010

Text.Colour.Layout

Documentation

data Table Source #

Constructors

Table 

Fields

Instances

Instances details
Eq Table Source # 
Instance details

Defined in Text.Colour.Layout

Methods

(==) :: Table -> Table -> Bool #

(/=) :: Table -> Table -> Bool #

Show Table Source # 
Instance details

Defined in Text.Colour.Layout

Methods

showsPrec :: Int -> Table -> ShowS #

show :: Table -> String #

showList :: [Table] -> ShowS #

Generic Table Source # 
Instance details

Defined in Text.Colour.Layout

Associated Types

type Rep Table :: Type -> Type #

Methods

from :: Table -> Rep Table x #

to :: Rep Table x -> Table #

Validity Table Source # 
Instance details

Defined in Text.Colour.Layout

Methods

validate :: Table -> Validation #

type Rep Table Source # 
Instance details

Defined in Text.Colour.Layout

type Rep Table = D1 ('MetaData "Table" "Text.Colour.Layout" "safe-coloured-text-layout-0.0.0.0-IpGLLZ9O4hs8LOzicVMFZ0" 'False) (C1 ('MetaCons "Table" 'PrefixI 'True) (S1 ('MetaSel ('Just "tableCells") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 [[Chunk]]) :*: (S1 ('MetaSel ('Just "tableColumnSeparator") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Chunk) :*: S1 ('MetaSel ('Just "tableBackground") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe TableBackground)))))

data TableBackground Source #

Instances

Instances details
Eq TableBackground Source # 
Instance details

Defined in Text.Colour.Layout

Show TableBackground Source # 
Instance details

Defined in Text.Colour.Layout

Generic TableBackground Source # 
Instance details

Defined in Text.Colour.Layout

Associated Types

type Rep TableBackground :: Type -> Type #

Validity TableBackground Source # 
Instance details

Defined in Text.Colour.Layout

type Rep TableBackground Source # 
Instance details

Defined in Text.Colour.Layout

type Rep TableBackground = D1 ('MetaData "TableBackground" "Text.Colour.Layout" "safe-coloured-text-layout-0.0.0.0-IpGLLZ9O4hs8LOzicVMFZ0" 'False) (C1 ('MetaCons "SingleColour" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Colour)) :+: C1 ('MetaCons "Bicolour" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe Colour)) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe Colour))))

iterateLikeInPython :: (Int -> a -> b) -> [a] -> [b] Source #

padRows :: [[Chunk]] -> [[Chunk]] Source #