@hackage pretty-ncols0.1
A implementation of multi-column layout w/ Text.PrettyPrint
Categories
License
BSD-3-Clause
Maintainer
jfredett@gmail.com
Links
- Documentation
- No source repository
- Security
Versions
- 0.1 Sat, 13 Nov 2021
Installation
Dependencies (2)
Dependents (2)
@hackage/acme-everything, @hackage/copilot-core
pretty-ncols allows for the following layouts to work nicely, so that:
One Two Three
1 2 3
a b c
can be written as:
cols_rowMajor = map text $ [[One, Two, Three], ["1", "2","3"], ["a","b","c"]]
cols_colMajor = transpose $ cols_rowMajors
asColumns cols_rowMajor
asColumns cols_colMajor