@hackage / prettyprinter-compat-ansi-wl-pprint

Drop-in compatibility package to migrate from »ansi-wl-pprint« to »prettyprinter«.

Latest1.1.1

About

Metadata

  • Last updated , by sjakobi
  • License BSD-2-Clause
  • Categories Text Processing, GUI
  • Maintained by: David Luposchainsky <dluposchainsky at google>

  • Lottery factor: 1

Links

Installation

Tested Compilers

  1. 9.12.2
  2. 9.10.3
  3. 9.8.4
  4. 9.6.7
  5. 9.4.8
  6. 9.2.8
  7. 9.0.2
  8. 8.10.7
  9. 8.8.4
  10. 8.6.5
  11. 8.4.4
  12. 8.2.2
  13. 8.0.2

Readme

ansi-wl-pprint compatibility package

This package defines a compatibility layer between the old ansi-wl-pprint package, and the new prettyprinter/prettyprinter-ansi-terminal ones.

This allows easily transitioning dependent packages from the old to the new package, by simply replacing ansi-wl-pprint with prettyprinter-compat-ansi-wl-pprint in the .cabal file. For adapting third party plugins that output ansi-wl-pprint data, use the proper converter from the prettyprinter-convert-ansi-wl-pprint module.

Note that this package is only for transitional purposes, and therefore deprecated and wholly undocumented. For new development, use the current version of prettyprinter, and the ANSI terminal backend provided in prettyprinter-ansi-terminal.

Also note that there are API differences that may require code changes: See https://github.com/quchen/prettyprinter/issues/246.