codeforces-cli-0.1.0: Command line interface to interact with Codeforces.
Safe HaskellSafe-Inferred
LanguageHaskell2010

Codeforces.App.Table

Synopsis

Documentation

data Cell Source #

A cell of a table consists of SGR styles and some text content

Constructors

Cell [SGR] Text 

type Row = [Cell] Source #

type Table = [Text] Source #

The table output is a list of row strings.

makeTable :: [ColConfig] -> [Row] -> Table Source #

makeTable colConfigs rows returns a list of row strings including the header row

type ColConfig = (Text, Int) Source #

Name and width of a column