The tabular package

[ Tags: bsd3, library, text ] [ Propose Tags ]

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

Properties

Versions 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
Dependencies base (>=2.1 && <5), csv (==0.1.*), html (>=1.0 && <2.0), mtl (>=1 && <2.3) [details]
License BSD3
Author Eric Kow
Maintainer Eric Kow <eric.kow@gmail.com>
Category Text
Home page http://hub.darcs.net/kowey/tabular
Source repository head: darcs get http://hub.darcs.net/kowey/tabular
Uploaded Sun Nov 24 20:27:43 UTC 2013 by EricKow
Updated Mon Jan 19 17:25:27 UTC 2015 by EricKow to revision 1   [What is this?]
Distributions Arch:0.2.2.7, Debian:0.2.2.7, Fedora:0.2.2.7, LTSHaskell:0.2.2.7, NixOS:0.2.2.7, Stackage:0.2.2.7, Tumbleweed:0.2.2.7
Downloads 4846 total (112 in the last 30 days)
Rating (no votes yet) [estimated by rule of succession]
Your Rating
  • λ
  • λ
  • λ
Status Docs available [build log]
Successful builds reported [all 1 reports]
Hackage Matrix CI

Modules

[Index]

Downloads

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