The rainbox package

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

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]


Change log changelog
Dependencies base (>= && <5), bytestring (>=0.10), containers (>=0.5.5), lens-simple (>=0.1.0), rainbow (>=0.26), text (>= [details]
License BSD3
Copyright Copyright 2014-2016 Omari Norman
Author Omari Norman
Category Text
Home page
Bug tracker
Source repository head: git clone
Uploaded Sat Jul 9 19:09:19 UTC 2016 by OmariNorman
Distributions LTSHaskell:, NixOS:, Stackage:, Tumbleweed:
Downloads 4536 total (1386 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




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.