Hello community,
here is the log from the commit of package ghc-show-prettyprint for
openSUSE:Factory checked in at 2017-06-22 10:38:56
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/ghc-show-prettyprint (Old)
and /work/SRC/openSUSE:Factory/.ghc-show-prettyprint.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "ghc-show-prettyprint"
Thu Jun 22 10:38:56 2017 rev:2 rq:504101 version:0.1.2.1
Changes:
--------
---
/work/SRC/openSUSE:Factory/ghc-show-prettyprint/ghc-show-prettyprint.changes
2017-04-11 09:48:10.395568258 +0200
+++
/work/SRC/openSUSE:Factory/.ghc-show-prettyprint.new/ghc-show-prettyprint.changes
2017-06-22 10:38:59.401490746 +0200
@@ -1,0 +2,5 @@
+Thu Jun 8 11:08:18 UTC 2017 - [email protected]
+
+- Update to version 0.1.2.1.
+
+-------------------------------------------------------------------
Old:
----
show-prettyprint-0.1.2.tar.gz
New:
----
show-prettyprint-0.1.2.1.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ ghc-show-prettyprint.spec ++++++
--- /var/tmp/diff_new_pack.JAhk47/_old 2017-06-22 10:39:00.153384741 +0200
+++ /var/tmp/diff_new_pack.JAhk47/_new 2017-06-22 10:39:00.157384177 +0200
@@ -19,7 +19,7 @@
%global pkg_name show-prettyprint
%bcond_with tests
Name: ghc-%{pkg_name}
-Version: 0.1.2
+Version: 0.1.2.1
Release: 0
Summary: Robust prettyprinter for output of auto-generated Show
instances
License: BSD-3-Clause
++++++ show-prettyprint-0.1.2.tar.gz -> show-prettyprint-0.1.2.1.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/show-prettyprint-0.1.2/README.md
new/show-prettyprint-0.1.2.1/README.md
--- old/show-prettyprint-0.1.2/README.md 2016-11-14 17:12:04.000000000
+0100
+++ new/show-prettyprint-0.1.2.1/README.md 2017-06-01 15:21:44.000000000
+0200
@@ -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
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/show-prettyprint-0.1.2/show-prettyprint.cabal
new/show-prettyprint-0.1.2.1/show-prettyprint.cabal
--- old/show-prettyprint-0.1.2/show-prettyprint.cabal 2016-11-14
17:12:04.000000000 +0100
+++ new/show-prettyprint-0.1.2.1/show-prettyprint.cabal 2017-06-01
15:26:58.000000000 +0200
@@ -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
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/show-prettyprint-0.1.2/test/Doctest/Main.hs
new/show-prettyprint-0.1.2.1/test/Doctest/Main.hs
--- old/show-prettyprint-0.1.2/test/Doctest/Main.hs 2016-11-12
13:14:27.000000000 +0100
+++ new/show-prettyprint-0.1.2.1/test/Doctest/Main.hs 2017-06-01
15:28:36.000000000 +0200
@@ -3,4 +3,4 @@
import Test.DocTest
main :: IO ()
-main = doctest ["src"]
+main = doctest ["src", "-ignore-package prettyprinter-compat-ansi-wl-pprint"]