Futhark.Util.Table
Description
Basic table building for prettier futhark-test output.
buildTable :: [[Entry]] -> Int -> String Source #
Builds a table from a list of entries and a padding amount that determines padding from the right side of the widest entry in each column.
mkEntry :: String -> (String, [SGR]) Source #
Makes a table entry with the default SGR mode.
type Entry = (String, [SGR]) Source #
A table entry. Consists of the content as well a list of SGR commands to color/stylelize the entry.