The tabular package

[Tags: bsd3, library]

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, 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

Properties

Versions0.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
Dependenciesbase (>=2.1 && <3.1), csv (==0.1.*), html (>=1.0 && <2.0), mtl (>=1 && <1.2)
LicenseBSD3
AuthorEric Kow
Maintainer<E.Y.Kow@brighton.ac.uk>
CategoryText
Home pagehttp://code.haskell.org/~kowey/tabular
Upload dateFri May 22 16:10:36 UTC 2009
Uploaded byEricKow
DistributionsDebian:0.2.2.5, NixOS:0.2.2.5
Downloads1025 total (86 in last 30 days)

Modules

[Index]

Downloads

Maintainers' corner

For package maintainers and hackage trustees