prettyprinter-compat-ansi-wl-pprint 0.1 → 1
raw patch · 4 files changed
+37/−11 lines, 4 filesdep ~basedep ~prettyprinterdep ~prettyprinter-ansi-terminalPVP ok
version bump matches the API change (PVP)
Dependency ranges changed: base, prettyprinter, prettyprinter-ansi-terminal, text
API changes (from Hackage documentation)
- Text.PrettyPrint.ANSI.Leijen: type SimpleDoc = SimpleDoc AnsiTerminal
+ Text.PrettyPrint.ANSI.Leijen: type SimpleDoc = SimpleDocStream AnsiTerminal
Files
- CONTRIBUTORS.md +24/−0
- README.md +8/−7
- prettyprinter-compat-ansi-wl-pprint.cabal +4/−3
- src/Text/PrettyPrint/ANSI/Leijen.hs +1/−1
+ CONTRIBUTORS.md view
@@ -0,0 +1,24 @@+# Contributors++A list of people that have contributed to this library, be it code, ideas, or+even just as rubber ducks. :-)++Ordered by earliest appearance in the git log.++## `prettyprinter` library (this one)++- Moritz Kiefer, @cocreature+- Daniel Mendler, @minad – several ideas after the preliminary release+- David Luposchainsky, @quchen – current maintainer++## `ansi-wl-pprint` (origin forked from)++- Edward Kmett, @edwardk – maintainer of `ansi-wl-pprint`+- Herbert Valerio Riedel, @hvr+- Bradford Larsen+- Sebastian Witte+- Andrew Shulaev+- David Fox+- Max Bolingbroke+- Samir Jindel+- Bryan O'Sullivan, @bos
README.md view
@@ -1,13 +1,14 @@-wl-pprint-ansi compatibility module-===================================+ansi-wl-pprint compatibility package+==================================== -This module defines a compatibility layer between the old `wl-pprint-ansi`-module, and the new one (version 1+).+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 `wl-pprint-ansi` with `wl-pprint-compat-old-ansi`+package, by simply replacing `ansi-wl-pprint` with `prettyprinter-ansi-terminal` in the `.cabal` file. -Note that this module is **only for transitional purposes**, and therefore+Note that this package is **only for transitional purposes**, and therefore deprecated and wholly undocumented. For new development, use the current version-of `wl-pprint`, and the ANSI terminal backend provided in `wl-pprint-ansi`.+of `prettyprinter`, and the ANSI terminal backend provided in+`prettyprinter-ansi-terminal`.
prettyprinter-compat-ansi-wl-pprint.cabal view
@@ -1,5 +1,5 @@ name: prettyprinter-compat-ansi-wl-pprint-version: 0.1+version: 1 cabal-version: >= 1.10 category: User Interfaces, Text synopsis: Prettyprinter compatibility module for previous users of the ansi-wl-pprint package.@@ -7,6 +7,7 @@ license: BSD2 license-file: LICENSE.md extra-source-files: README.md+ , CONTRIBUTORS.md author: David Luposchainsky maintainer: David Luposchainsky <dluposchainsky at google> bug-reports: http://github.com/quchen/prettyprinter/issues@@ -31,5 +32,5 @@ build-depends: base < 127 , text- , prettyprinter >= 0 && < 0.2- , prettyprinter-ansi-terminal >= 0 && < 0.2+ , prettyprinter < 1.1+ , prettyprinter-ansi-terminal < 1.1
src/Text/PrettyPrint/ANSI/Leijen.hs view
@@ -32,7 +32,7 @@ type Doc = New.Doc NewT.AnsiTerminal-type SimpleDoc = New.SimpleDoc NewT.AnsiTerminal+type SimpleDoc = New.SimpleDocStream NewT.AnsiTerminal