packages feed

show-prettyprint 0.1.2 → 0.1.2.1

raw patch · 3 files changed

+19/−2 lines, 3 filesPVP ok

version bump matches the API change (PVP)

API changes (from Hackage documentation)

Files

README.md view
@@ -37,3 +37,20 @@                                ,-1.2e34)                          ,r2 = 123}))] ```++Related packages+================++There is a similar package on Hackage called *[pretty-show][1]*, which takes a+more flexible approach to prettyprinting show-formatted strings. This has its+advantages and disadvantages.++         | prettyprint-show (this)            | [pretty-show][1] (alternative)+------------- | ---------------------------------- | -----------------------------+Use case      | fire and forget, debugging         | flexible, working with the output+API           | One core value (rest: convenience) | Multiple combinable values+Extensibility | low, not intended                  | decent, e.g. HTML rendering+Robustness    | high: only cares about parentheses, bugs in bad output can be hacked around | medium: relies on output that follows Haskell's lexical structure+++[1]: http://hackage.haskell.org/package/pretty-show
show-prettyprint.cabal view
@@ -1,5 +1,5 @@ name:                show-prettyprint-version:             0.1.2+version:             0.1.2.1 synopsis:            Robust prettyprinter for output of auto-generated Show                      instances description:         See README.md
test/Doctest/Main.hs view
@@ -3,4 +3,4 @@ import Test.DocTest  main :: IO ()-main = doctest ["src"]+main = doctest ["src", "-ignore-package prettyprinter-compat-ansi-wl-pprint"]