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

[ bsd2, library, text, user-interfaces ] [ Propose Tags ] [ Report a vulnerability ]

See README.md


[Skip to Readme]

Modules

[Index] [Quick Jump]

Downloads

Maintainer's Corner

Package maintainers

For package maintainers and hackage trustees

Candidates

  • No Candidates
Versions [RSS] 0.1, 1, 1.0.1, 1.0.2, 1.1 (info)
Change log CHANGELOG.md
Dependencies base (>=4.5 && <5), prettyprinter (>=1.7.0), prettyprinter-ansi-terminal (>=1.1), semigroups (>=0.1), text (>=1.2) [details]
Tested with ghc ==9.12.2, ghc ==9.10.3, ghc ==9.8.4, ghc ==9.6.7, ghc ==9.4.8, ghc ==9.2.8, ghc ==9.0.2, ghc ==8.10.7, ghc ==8.8.4, ghc ==8.6.5, ghc ==8.4.4, ghc ==8.2.2, ghc ==8.0.2
License BSD-2-Clause
Author David Luposchainsky
Maintainer David Luposchainsky <dluposchainsky at google>
Category User Interfaces, Text
Home page http://github.com/quchen/prettyprinter
Bug tracker http://github.com/quchen/prettyprinter/issues
Source repo head: git clone https://github.com/quchen/prettyprinter
Uploaded by sjakobi at 2025-12-04T16:02:49Z
Distributions Arch:1.0.2, Fedora:1.0.2, LTSHaskell:1.0.2, NixOS:1.0.2, Stackage:1.0.2
Reverse Dependencies 5 direct, 4792 indirect [details]
Downloads 5280 total (12 in the last 30 days)
Rating (no votes yet) [estimated by Bayesian average]
Your Rating
  • λ
  • λ
  • λ
Status Docs available [build log]
Last success reported on 2025-12-04 [all 1 reports]

Readme for prettyprinter-compat-ansi-wl-pprint-1.1

[back to package description]

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.