Safe Haskell | None |
---|---|
Language | Haskell2010 |
Documentation
layoutAsTable :: [[Chunk]] -> [Chunk] Source #
Table | |
|
Instances
Eq Table Source # | |
Show Table Source # | |
Generic Table Source # | |
Validity Table Source # | |
Defined in Text.Colour.Layout validate :: Table -> Validation # | |
type Rep Table Source # | |
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
renderTable :: Table -> [Chunk] Source #
iterateLikeInPython :: (Int -> a -> b) -> [a] -> [b] Source #
backgroundForRow :: Int -> Maybe TableBackground -> Maybe Colour Source #