rainbox: Two-dimensional box pretty printing, with colors

[ bsd3, library, text ] [ Propose Tags ]
Change log changelog
Dependencies base (>= && <5), bytestring (>=0.10), containers (>=0.5.5), lens‑simple (>=0.1.0), rainbow (>=0.26), text (>= [details]
License BSD-3-Clause
Copyright Copyright 2014-2016 Omari Norman
Author Omari Norman
Maintainer omari@smileystation.com
Category Text
Home page http://www.github.com/massysett/rainbox
Bug tracker http://www.github.com/massysett/rainbox/issues
Source repo head: git clone https://github.com/massysett/rainbox.git
Uploaded by OmariNorman at Sat Jul 9 19:09:19 UTC 2016
Distributions LTSHaskell:, NixOS:, openSUSE:
Downloads 4735 total (64 in the last 30 days)
Rating (no votes yet) [estimated by rule of succession]
Your Rating
  • λ
  • λ
  • λ
Status Docs available [build log]
Last success reported on 2016-07-09 [all 1 reports]
Hackage Matrix CI

Prints boxes in two dimensions, with colors. Boxes are automatically padded with necessary whitespace.

For more information, please see the Haddock documentation and


[Skip to Readme]




Maintainer's Corner

For package maintainers and hackage trustees

Readme for rainbox-

[back to package description]


Provides pretty printing of boxes in two dimensions. Rainbox is useful for console programs that need to format tabular data.

On Hackage



In addition to the Haddock documentation, a tutorial is available in the Rainbox.Tutorial module.


There's nothing unportable in Rainbox; however, it does use Rainbow which is only tested on UNIX-like systems.


You can simply use "cabal test". However, I recommend that you do:

cabal configure --enable-tests
cabal build

The last test, rainbox-visual, relies on you to examine the output and make sure it looks correct.

Tests are also run on Travis:

Build Status

and although you can see the output of rainbox-visual there, it's not formatted quite right on Travis.

At this time, Rainbox is verified to work with GHC versions in the 7.8 series and the 7.10 series.


Rainbox is licensed under the BSD license; please see the LICENSE file.