Deprecated

In favour of

ansi-wl-pprint

The Wadler/Leijen Pretty Printer for colored ANSI terminal output

http://github.com/ekmett/ansi-wl-pprint

LTS Haskell 22.26:1.0.2
Stackage Nightly 2024-06-20:1.0.2
Latest on Hackage:1.0.2

See all snapshots ansi-wl-pprint appears in

BSD-3-Clause licensed by Daan Leijen, Max Bolingbroke
Maintained by Edward Kmett
This version can be pinned in stack with:ansi-wl-pprint-1.0.2@sha256:b817853b5310b8e7847469847608b664c3e75b4b30c332f2cb8c0d00751ef9c1,1915

Module documentation for 1.0.2

ANSI Wadler/Leijen Pretty Printer

For all information on this package, please consult the homepage.

Build Status

Changes

1.0.2

  • Change the implementation to the prettyprinter package, using the prettyprinter-compat-ansi-wl-pprint compatibility package.

    Migrate to prettyprinter.

    Note: Using show won’t preserve formatting anymore, as prettyprinters Show Doc instance is annotation invariant. You can convert to String using Data.Text.Lazy.unpack . Prettyprinter.Render.Terminal.renderLazy . Prettyprinter.layoutPretty Prettyprinter.defaultLayoutOptions, from the text, prettyprinter-ansi-terminal, prettyprinter packages respectively.

  • The Text.PrettyPrint.ANSI.Leijen.Internal module is gone.

0.6.9

  • All modules are explicitly Safe.
  • Support GHC-7.0 … GHC-8.8

0.6.8.2