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

Text.Layout.Table.StringBuilder

Synopsis

Documentation

class Monoid a => StringBuilder a where Source #

A type that is used to construct parts of a table.

Minimal complete definition

stringB, charB

Methods

stringB :: String -> a Source #

Create a builder with a String.

charB :: Char -> a Source #

Create a builder with a single Char.

replicateCharB :: Int -> Char -> a Source #

Create a builder with several Chars.

spacesB :: StringBuilder a => Int -> a Source #

Create a builder that contains k spaces. Negative numbers are treated as zero.