Copyright | © Thor Michael Støre, 2015 |
---|---|
License | GPL v2 without "any later version" clause |
Maintainer | thormichael át gmail døt com |
Stability | experimental |
Safe Haskell | Safe |
Language | Haskell2010 |
Presentation of tables in a two-dimensional fixed-width font form.
- present1LineValue :: [[String]] -> [String] -> [String]
- presentNLineValue :: [[[String]]] -> [String] -> [String]
- maxLen :: Ord b => [b] -> [b] -> [b]
- padTranspose :: [[[t]]] -> [[[t]]]
Presentation functions
present1LineValue :: [[String]] -> [String] -> [String] Source
Builds a one-line representation of a value, plus header
presentNLineValue :: [[[String]]] -> [String] -> [String] Source
Builds a multi-line representation of a value, plus header
Utility functions
maxLen :: Ord b => [b] -> [b] -> [b] Source
Given two lists of orderables, produces a list of equal length where each element is that which is the maximum of those elements that are in the same position in the two input lists.
padTranspose :: [[[t]]] -> [[[t]]] Source
Transposes a list of lists of lists, padding the lists of the second dimension with empty lists if they are shorter than the other rows.