tabular: Two-dimensional data tables with rendering functions
Tabular provides a Haskell representation of two-dimensional data tables, the kind that you might find in a spreadsheet or or a research report. It also comes with some default rendering functions for turning those tables into ASCII art, simple text with an arbitrary delimiter, CSV, HTML or LaTeX.
Below is an example of the kind of output this library produces. The tabular package can group rows and columns, each group having one of three separators (no line, single line, double line) between its members.
|| memtest 1 | memtest 2 || time test | time test 2 ====++===========+===========++=============+============ A 1 || hog | terrible || slow | slower A 2 || pig | not bad || fast | slowest ----++-----------+-----------++-------------+------------ B 1 || good | awful || intolerable | bearable B 2 || better | no chance || crawling | amazing B 3 || meh | well... || worst ever | ok
Modules
[Index] [Quick Jump]
Downloads
- tabular-0.2.2.8.tar.gz [browse] (Cabal source package)
- Package description (revised from the package)
Note: This package has metadata revisions in the cabal description newer than included in the tarball. To unpack the package including the revisions, use 'cabal get'.
Maintainer's Corner
For package maintainers and hackage trustees
Candidates
Versions [RSS] | 0.1, 0.1.0.1, 0.1.0.2, 0.2.1.0, 0.2.2.0, 0.2.2.1, 0.2.2.2, 0.2.2.3, 0.2.2.4, 0.2.2.5, 0.2.2.6, 0.2.2.7, 0.2.2.8 |
---|---|
Dependencies | base (>=2.1 && <5), csv (>=0.1 && <0.2), html (>=1.0 && <2.0), mtl (>=1 && <2.4) [details] |
Tested with | ghc ==8.10.2, ghc ==8.8.4, ghc ==8.6.5, ghc ==8.4.4, ghc ==8.2.2, ghc ==8.0.2, ghc ==7.10.3, ghc ==7.8.4, ghc ==7.6.3 |
License | BSD-3-Clause |
Author | Eric Kow |
Maintainer | Ben Gamari <bgamari@well-typed.com> |
Revised | Revision 1 made by Bodigrim at 2023-04-14T19:48:09Z |
Category | Text |
Home page | https://github.com/bgamari/tabular |
Source repo | head: git clone https://github.com/bgamari/tabular |
Uploaded | by BenGamari at 2020-09-01T13:47:13Z |
Distributions | Arch:0.2.2.8, Debian:0.2.2.7, Fedora:0.2.2.8, LTSHaskell:0.2.2.8, NixOS:0.2.2.8, Stackage:0.2.2.8, openSUSE:0.2.2.8 |
Reverse Dependencies | 6 direct, 7 indirect [details] |
Downloads | 16913 total (85 in the last 30 days) |
Rating | (no votes yet) [estimated by Bayesian average] |
Your Rating | |
Status | Docs available [build log] Last success reported on 2020-09-01 [all 1 reports] |