prettyprinter-convert-ansi-wl-pprint: Converter from »ansi-wl-pprint« documents to »prettyprinter«-based ones.

[ bsd2, library, text, user-interfaces ] [ Propose Tags ]

This package defines a converter from the old ansi-wl-pprint document type to the new prettyprinter one. Its purpose is making packages that only generate ansi-wl-pprint data available to the prettyprinter ecosystem.

Note the difference to the prettyprinter-compat-ansi-wl-pprint package, which does not convert any data, and instead provides an API that mimicks ansi-wl-pprint, while secretly being prettyprinter-based behind the curtains. This package on the other hand does a proper conversion.

╭────────────────────╮    fromAnsiWlPprint    ╭────────────────────╮
│        Doc         ├───────────────────────▷│   Doc AnsiStyle    │
│  (ansi-wl-pprint)  │◁───────────────────────┤  (prettyprinter)   │
╰────────────────────╯     toAnsiWlPprint     ╰────────────────────╯

[Skip to Readme]
Versions 1.1
Dependencies ansi-terminal, ansi-wl-pprint (>=0.6.8), base (>=4.7 && <5), prettyprinter (>=1), prettyprinter-ansi-terminal (>=1.1.1), text (>=1.2) [details]
License BSD-2-Clause
Author David Luposchainsky
Maintainer David Luposchainsky <dluposchainsky at google>
Revised Revision 1 made by HerbertValerioRiedel at Thu Aug 3 11:27:46 UTC 2017
Category User Interfaces, Text
Home page http://github.com/quchen/prettyprinter
Bug tracker http://github.com/quchen/prettyprinter/issues
Source repo head: git clone git://github.com/quchen/prettyprinter.git
Uploaded by quchen at Thu Aug 3 10:20:40 UTC 2017
Distributions Arch:1.1, Debian:1.1, LTSHaskell:1.1, NixOS:1.1
Downloads 518 total (26 in the last 30 days)
Rating (no votes yet) [estimated by rule of succession]
Your Rating
  • λ
  • λ
  • λ
Status Docs not available [build log]
All reported builds failed as of 2017-08-03 [all 3 reports]
Hackage Matrix CI

Modules

  • Data
    • Text
      • Prettyprint
        • Convert
          • Data.Text.Prettyprint.Convert.AnsiWlPprint

Downloads

Note: This package has metadata revisions in the cabal description newer than included in the tarball. To unpack the package including the revisions, use 'cabal get'.

Maintainer's Corner

For package maintainers and hackage trustees


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

[back to package description]

ansi-wl-pprint conversion package

This package defines a converter from the old ansi-wl-pprint document type to the new prettyprinter one. Its purpose is making packages that only generate ansi-wl-pprint data available to the prettyprinter ecosystem.

Note the difference to the prettyprinter-compat-ansi-wl-pprint module, which does not convert any data, and instead provides an API that mimicks ansi-wl-pprint, while secretly being prettyprinter-based behind the curtains. This package on the other hand does a proper conversion.

╭────────────────────╮    fromAnsiWlPprint    ╭────────────────────╮
│        Doc         ├───────────────────────▷│   Doc AnsiStyle    │
│  (ansi-wl-pprint)  │◁───────────────────────┤  (prettyprinter)   │
╰────────────────────╯     toAnsiWlPprint     ╰────────────────────╯