Layout data in grids and pretty tables. Provides a lot of tools to get the cell formatting right (positional alignment, alignment on specific characters and limiting of cell width)..
> import Text.Layout.Table.Justify
Text.Layout.Table.Justify> justifyText 10 "This text will not fit on one line."
["This","will text","on fit not","line. one"]
This is the example from the docs. I am using version 0.9.0.1 and GHC version 8.8.4. It seems to have the reverse ordering of words.
This is the example from the docs. I am using version
0.9.0.1
and GHC version8.8.4
. It seems to have the reverse ordering of words.