Hello community,
here is the log from the commit of package ghc-deriving-compat for openSUSE:Factory checked in at 2017-05-06 18:28:24
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/ghc-deriving-compat (Old)
and /work/SRC/openSUSE:Factory/.ghc-deriving-compat.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "ghc-deriving-compat"
Sat May 6 18:28:24 2017 rev:4 rq:491464 version:0.3.6
Changes:
--------
--- /work/SRC/openSUSE:Factory/ghc-deriving-compat/ghc-deriving-compat.changes 2017-01-12 15:53:43.845340322 +0100
+++ /work/SRC/openSUSE:Factory/.ghc-deriving-compat.new/ghc-deriving-compat.changes 2017-05-06 18:28:26.121523159 +0200
@@ -1,0 +2,5 @@
+Wed Apr 19 13:32:46 UTC 2017 - psimons@suse.com
+
+- Update to version 0.3.6 with cabal2obs.
+
+-------------------------------------------------------------------
Old:
----
deriving-compat-0.3.5.tar.gz
New:
----
deriving-compat-0.3.6.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ ghc-deriving-compat.spec ++++++
--- /var/tmp/diff_new_pack.iHBbdr/_old 2017-05-06 18:28:26.769431736 +0200
+++ /var/tmp/diff_new_pack.iHBbdr/_new 2017-05-06 18:28:26.773431171 +0200
@@ -1,7 +1,7 @@
#
# spec file for package ghc-deriving-compat
#
-# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -19,7 +19,7 @@
%global pkg_name deriving-compat
%bcond_with tests
Name: ghc-%{pkg_name}
-Version: 0.3.5
+Version: 0.3.6
Release: 0
Summary: Backports of GHC deriving extensions
License: BSD-3-Clause
++++++ deriving-compat-0.3.5.tar.gz -> deriving-compat-0.3.6.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/deriving-compat-0.3.5/CHANGELOG.md new/deriving-compat-0.3.6/CHANGELOG.md
--- old/deriving-compat-0.3.5/CHANGELOG.md 2016-12-12 16:56:51.000000000 +0100
+++ new/deriving-compat-0.3.6/CHANGELOG.md 2017-04-11 02:10:34.000000000 +0200
@@ -1,3 +1,7 @@
+### 0.3.6 [2017.04.10]
+* Make `deriveTraversable` use `liftA2` in derived implementations of `traverse` when possible, now that `liftA2` is a class method of `Applicative` (as of GHC 8.2)
+* Make `deriveShow` use `showCommaSpace`, a change introduced in GHC 8.2
+
### 0.3.5 [2016.12.12]
* Fix bug in which derived `Ord` instances for datatypes with many constructors
would fail to typecheck
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/deriving-compat-0.3.5/LICENSE new/deriving-compat-0.3.6/LICENSE
--- old/deriving-compat-0.3.5/LICENSE 2016-12-12 16:56:51.000000000 +0100
+++ new/deriving-compat-0.3.6/LICENSE 2017-04-11 02:10:34.000000000 +0200
@@ -1,4 +1,4 @@
-Copyright (c) 2015-2016, Ryan Scott
+Copyright (c) 2015-2017, Ryan Scott
All rights reserved.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/deriving-compat-0.3.5/deriving-compat.cabal new/deriving-compat-0.3.6/deriving-compat.cabal
--- old/deriving-compat-0.3.5/deriving-compat.cabal 2016-12-12 16:56:51.000000000 +0100
+++ new/deriving-compat-0.3.6/deriving-compat.cabal 2017-04-11 02:10:34.000000000 +0200
@@ -1,5 +1,5 @@
name: deriving-compat
-version: 0.3.5
+version: 0.3.6
synopsis: Backports of GHC deriving extensions
description: Provides Template Haskell functions that mimic deriving
extensions that were introduced or modified in recent versions
@@ -54,7 +54,7 @@
author: Ryan Scott
maintainer: Ryan Scott
stability: Experimental
-copyright: (C) 2015-2016 Ryan Scott
+copyright: (C) 2015-2017 Ryan Scott
category: Compatibility
build-type: Simple
extra-source-files: CHANGELOG.md, README.md
@@ -121,7 +121,7 @@
build-depends: base >= 4.3 && < 4.9
if flag(template-haskell-2-11)
- build-depends: template-haskell >= 2.11 && < 2.12
+ build-depends: template-haskell >= 2.11 && < 2.13
, ghc-boot-th
else
build-depends: template-haskell >= 2.5 && < 2.11
@@ -152,11 +152,11 @@
Types.ReadShow
build-depends: base-compat >= 0.8.1 && < 1
, base-orphans >= 0.5 && < 1
- , deriving-compat == 0.3.5
+ , deriving-compat
, hspec >= 1.8
, QuickCheck >= 2 && < 3
, tagged >= 0.7 && < 1
- , template-haskell >= 2.5 && < 2.12
+ , template-haskell >= 2.5 && < 2.13
if flag(base-4-9)
build-depends: base >= 4.9 && < 5
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/deriving-compat-0.3.5/src/Data/Bounded/Deriving/Internal.hs new/deriving-compat-0.3.6/src/Data/Bounded/Deriving/Internal.hs
--- old/deriving-compat-0.3.5/src/Data/Bounded/Deriving/Internal.hs 2016-12-12 16:56:51.000000000 +0100
+++ new/deriving-compat-0.3.6/src/Data/Bounded/Deriving/Internal.hs 2017-04-11 02:10:34.000000000 +0200
@@ -2,7 +2,7 @@
{-|
Module: Data.Bounded.Deriving.Internal
-Copyright: (C) 2015-2016 Ryan Scott
+Copyright: (C) 2015-2017 Ryan Scott
License: BSD-style (see the file LICENSE)
Maintainer: Ryan Scott
Portability: Template Haskell
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/deriving-compat-0.3.5/src/Data/Bounded/Deriving.hs new/deriving-compat-0.3.6/src/Data/Bounded/Deriving.hs
--- old/deriving-compat-0.3.5/src/Data/Bounded/Deriving.hs 2016-12-12 16:56:51.000000000 +0100
+++ new/deriving-compat-0.3.6/src/Data/Bounded/Deriving.hs 2017-04-11 02:10:34.000000000 +0200
@@ -1,6 +1,6 @@
{-|
Module: Data.Bounded.Deriving
-Copyright: (C) 2015-2016 Ryan Scott
+Copyright: (C) 2015-2017 Ryan Scott
License: BSD-style (see the file LICENSE)
Maintainer: Ryan Scott
Portability: Template Haskell
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/deriving-compat-0.3.5/src/Data/Deriving/Internal.hs new/deriving-compat-0.3.6/src/Data/Deriving/Internal.hs
--- old/deriving-compat-0.3.5/src/Data/Deriving/Internal.hs 2016-12-12 16:56:51.000000000 +0100
+++ new/deriving-compat-0.3.6/src/Data/Deriving/Internal.hs 2017-04-11 02:10:34.000000000 +0200
@@ -13,7 +13,7 @@
{-|
Module: Data.Deriving.Internal
-Copyright: (C) 2015-2016 Ryan Scott
+Copyright: (C) 2015-2017 Ryan Scott
License: BSD-style (see the file LICENSE)
Maintainer: Ryan Scott
Portability: Template Haskell
@@ -2070,6 +2070,9 @@
apValName :: Name
apValName = mkNameG_v "base" "GHC.Base" "<*>"
+liftA2ValName :: Name
+liftA2ValName = mkNameG_v "base" "GHC.Base" "liftA2"
+
mappendValName :: Name
mappendValName = mkNameG_v "base" "GHC.Base" "mappend"
@@ -2082,6 +2085,9 @@
apValName :: Name
apValName = mkNameG_v "base" "Control.Applicative" "<*>"
+liftA2ValName :: Name
+liftA2ValName = mkNameG_v "base" "Control.Applicative" "liftA2"
+
mappendValName :: Name
mappendValName = mkNameG_v "base" "Data.Monoid" "mappend"
@@ -2293,3 +2299,14 @@
unApplyValName = mkNameG_v derivingCompatPackageKey "Data.Deriving.Internal" "unApply"
# endif
#endif
+
+#if MIN_VERSION_base(4,10,0)
+showCommaSpaceValName :: Name
+showCommaSpaceValName = mkNameG_v "base" "GHC.Show" "showCommaSpace"
+#else
+showCommaSpace :: ShowS
+showCommaSpace = showString ", "
+
+showCommaSpaceValName :: Name
+showCommaSpaceValName = mkNameG_v derivingCompatPackageKey "Data.Deriving.Internal" "showCommaSpace"
+#endif
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/deriving-compat-0.3.5/src/Data/Deriving.hs new/deriving-compat-0.3.6/src/Data/Deriving.hs
--- old/deriving-compat-0.3.5/src/Data/Deriving.hs 2016-12-12 16:56:51.000000000 +0100
+++ new/deriving-compat-0.3.6/src/Data/Deriving.hs 2017-04-11 02:10:34.000000000 +0200
@@ -1,6 +1,6 @@
{-|
Module: Data.Deriving
-Copyright: (C) 2015-2016 Ryan Scott
+Copyright: (C) 2015-2017 Ryan Scott
License: BSD-style (see the file LICENSE)
Maintainer: Ryan Scott
Portability: Template Haskell
@@ -67,6 +67,13 @@
that are not subject to @RebindableSyntax@. It was also changed so that derived
@('<=')@, @('>')@, and @('>=')@ methods are expressed through @('<')@, which avoids
generating a substantial amount of code.
+
+* In GHC 8.2, deriving 'Traversable' was changed so that it uses 'liftA2' to implement
+ 'traverse' whenever possible. This was done since 'liftA2' was also made a class
+ method of 'Applicative', so sometimes using 'liftA2' produces more efficient code.
+
+* In GHC 8.2, deriving 'Show' was changed so that it uses an explicit @showCommaSpace@
+ method, instead of repeating the code @showString \", \"@ in several places.
-}
{- $derive
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/deriving-compat-0.3.5/src/Data/Enum/Deriving/Internal.hs new/deriving-compat-0.3.6/src/Data/Enum/Deriving/Internal.hs
--- old/deriving-compat-0.3.5/src/Data/Enum/Deriving/Internal.hs 2016-12-12 16:56:51.000000000 +0100
+++ new/deriving-compat-0.3.6/src/Data/Enum/Deriving/Internal.hs 2017-04-11 02:10:34.000000000 +0200
@@ -1,6 +1,6 @@
{-|
Module: Data.Enum.Deriving.Internal
-Copyright: (C) 2015-2016 Ryan Scott
+Copyright: (C) 2015-2017 Ryan Scott
License: BSD-style (see the file LICENSE)
Maintainer: Ryan Scott
Portability: Template Haskell
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/deriving-compat-0.3.5/src/Data/Enum/Deriving.hs new/deriving-compat-0.3.6/src/Data/Enum/Deriving.hs
--- old/deriving-compat-0.3.5/src/Data/Enum/Deriving.hs 2016-12-12 16:56:51.000000000 +0100
+++ new/deriving-compat-0.3.6/src/Data/Enum/Deriving.hs 2017-04-11 02:10:34.000000000 +0200
@@ -1,6 +1,6 @@
{-|
Module: Data.Enum.Deriving
-Copyright: (C) 2015-2016 Ryan Scott
+Copyright: (C) 2015-2017 Ryan Scott
License: BSD-style (see the file LICENSE)
Maintainer: Ryan Scott
Portability: Template Haskell
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/deriving-compat-0.3.5/src/Data/Eq/Deriving/Internal.hs new/deriving-compat-0.3.6/src/Data/Eq/Deriving/Internal.hs
--- old/deriving-compat-0.3.5/src/Data/Eq/Deriving/Internal.hs 2016-12-12 16:56:51.000000000 +0100
+++ new/deriving-compat-0.3.6/src/Data/Eq/Deriving/Internal.hs 2017-04-11 02:10:34.000000000 +0200
@@ -3,7 +3,7 @@
{-|
Module: Data.Eq.Deriving.Internal
-Copyright: (C) 2015-2016 Ryan Scott
+Copyright: (C) 2015-2017 Ryan Scott
License: BSD-style (see the file LICENSE)
Maintainer: Ryan Scott
Portability: Template Haskell
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/deriving-compat-0.3.5/src/Data/Eq/Deriving.hs new/deriving-compat-0.3.6/src/Data/Eq/Deriving.hs
--- old/deriving-compat-0.3.5/src/Data/Eq/Deriving.hs 2016-12-12 16:56:51.000000000 +0100
+++ new/deriving-compat-0.3.6/src/Data/Eq/Deriving.hs 2017-04-11 02:10:34.000000000 +0200
@@ -1,7 +1,7 @@
{-# LANGUAGE CPP #-}
{-|
Module: Data.Eq.Deriving
-Copyright: (C) 2015-2016 Ryan Scott
+Copyright: (C) 2015-2017 Ryan Scott
License: BSD-style (see the file LICENSE)
Maintainer: Ryan Scott
Portability: Template Haskell
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/deriving-compat-0.3.5/src/Data/Foldable/Deriving.hs new/deriving-compat-0.3.6/src/Data/Foldable/Deriving.hs
--- old/deriving-compat-0.3.5/src/Data/Foldable/Deriving.hs 2016-12-12 16:56:51.000000000 +0100
+++ new/deriving-compat-0.3.6/src/Data/Foldable/Deriving.hs 2017-04-11 02:10:34.000000000 +0200
@@ -1,6 +1,6 @@
{-|
Module: Data.Foldable.Deriving
-Copyright: (C) 2015-2016 Ryan Scott
+Copyright: (C) 2015-2017 Ryan Scott
License: BSD-style (see the file LICENSE)
Maintainer: Ryan Scott
Portability: Template Haskell
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/deriving-compat-0.3.5/src/Data/Functor/Deriving/Internal.hs new/deriving-compat-0.3.6/src/Data/Functor/Deriving/Internal.hs
--- old/deriving-compat-0.3.5/src/Data/Functor/Deriving/Internal.hs 2016-12-12 16:56:51.000000000 +0100
+++ new/deriving-compat-0.3.6/src/Data/Functor/Deriving/Internal.hs 2017-04-11 02:10:34.000000000 +0200
@@ -2,7 +2,7 @@
{-# LANGUAGE GADTs #-}
{-|
Module: Data.Functor.Deriving.Internal
-Copyright: (C) 2015-2016 Ryan Scott
+Copyright: (C) 2015-2017 Ryan Scott
License: BSD-style (see the file LICENSE)
Maintainer: Ryan Scott
Portability: Template Haskell
@@ -470,7 +470,8 @@
let go :: [Exp] -> Exp
go [] = VarE pureValName `AppE` conExp
- go (e:es) = foldl' (\e1 e2 -> InfixE (Just e1) (VarE apValName) (Just e2))
- (VarE fmapValName `AppE` conExp `AppE` e) es
+ go [e] = VarE fmapValName `AppE` conExp `AppE` e
+ go (e1:e2:es) = foldl' (\se1 se2 -> InfixE (Just se1) (VarE apValName) (Just se2))
+ (VarE liftA2ValName `AppE` conExp `AppE` e1 `AppE` e2) es
return . go . rights $ ess
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/deriving-compat-0.3.5/src/Data/Functor/Deriving.hs new/deriving-compat-0.3.6/src/Data/Functor/Deriving.hs
--- old/deriving-compat-0.3.5/src/Data/Functor/Deriving.hs 2016-12-12 16:56:51.000000000 +0100
+++ new/deriving-compat-0.3.6/src/Data/Functor/Deriving.hs 2017-04-11 02:10:34.000000000 +0200
@@ -1,6 +1,6 @@
{-|
Module: Data.Functor.Deriving
-Copyright: (C) 2015-2016 Ryan Scott
+Copyright: (C) 2015-2017 Ryan Scott
License: BSD-style (see the file LICENSE)
Maintainer: Ryan Scott
Portability: Template Haskell
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/deriving-compat-0.3.5/src/Data/Ix/Deriving/Internal.hs new/deriving-compat-0.3.6/src/Data/Ix/Deriving/Internal.hs
--- old/deriving-compat-0.3.5/src/Data/Ix/Deriving/Internal.hs 2016-12-12 16:56:51.000000000 +0100
+++ new/deriving-compat-0.3.6/src/Data/Ix/Deriving/Internal.hs 2017-04-11 02:10:34.000000000 +0200
@@ -1,6 +1,6 @@
{-|
Module: Data.Ix.Deriving.Internal
-Copyright: (C) 2015-2016 Ryan Scott
+Copyright: (C) 2015-2017 Ryan Scott
License: BSD-style (see the file LICENSE)
Maintainer: Ryan Scott
Portability: Template Haskell
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/deriving-compat-0.3.5/src/Data/Ix/Deriving.hs new/deriving-compat-0.3.6/src/Data/Ix/Deriving.hs
--- old/deriving-compat-0.3.5/src/Data/Ix/Deriving.hs 2016-12-12 16:56:51.000000000 +0100
+++ new/deriving-compat-0.3.6/src/Data/Ix/Deriving.hs 2017-04-11 02:10:34.000000000 +0200
@@ -1,6 +1,6 @@
{-|
Module: Data.Ix.Deriving
-Copyright: (C) 2015-2016 Ryan Scott
+Copyright: (C) 2015-2017 Ryan Scott
License: BSD-style (see the file LICENSE)
Maintainer: Ryan Scott
Portability: Template Haskell
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/deriving-compat-0.3.5/src/Data/Ord/Deriving/Internal.hs new/deriving-compat-0.3.6/src/Data/Ord/Deriving/Internal.hs
--- old/deriving-compat-0.3.5/src/Data/Ord/Deriving/Internal.hs 2016-12-12 16:56:51.000000000 +0100
+++ new/deriving-compat-0.3.6/src/Data/Ord/Deriving/Internal.hs 2017-04-11 02:10:34.000000000 +0200
@@ -3,7 +3,7 @@
{-|
Module: Data.Ord.Deriving.Internal
-Copyright: (C) 2015-2016 Ryan Scott
+Copyright: (C) 2015-2017 Ryan Scott
License: BSD-style (see the file LICENSE)
Maintainer: Ryan Scott
Portability: Template Haskell
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/deriving-compat-0.3.5/src/Data/Ord/Deriving.hs new/deriving-compat-0.3.6/src/Data/Ord/Deriving.hs
--- old/deriving-compat-0.3.5/src/Data/Ord/Deriving.hs 2016-12-12 16:56:51.000000000 +0100
+++ new/deriving-compat-0.3.6/src/Data/Ord/Deriving.hs 2017-04-11 02:10:34.000000000 +0200
@@ -1,7 +1,7 @@
{-# LANGUAGE CPP #-}
{-|
Module: Data.Ord.Deriving
-Copyright: (C) 2015-2016 Ryan Scott
+Copyright: (C) 2015-2017 Ryan Scott
License: BSD-style (see the file LICENSE)
Maintainer: Ryan Scott
Portability: Template Haskell
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/deriving-compat-0.3.5/src/Data/Traversable/Deriving.hs new/deriving-compat-0.3.6/src/Data/Traversable/Deriving.hs
--- old/deriving-compat-0.3.5/src/Data/Traversable/Deriving.hs 2016-12-12 16:56:51.000000000 +0100
+++ new/deriving-compat-0.3.6/src/Data/Traversable/Deriving.hs 2017-04-11 02:10:34.000000000 +0200
@@ -1,6 +1,6 @@
{-|
Module: Data.Traversable.Deriving
-Copyright: (C) 2015-2016 Ryan Scott
+Copyright: (C) 2015-2017 Ryan Scott
License: BSD-style (see the file LICENSE)
Maintainer: Ryan Scott
Portability: Template Haskell
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/deriving-compat-0.3.5/src/Text/Read/Deriving/Internal.hs new/deriving-compat-0.3.6/src/Text/Read/Deriving/Internal.hs
--- old/deriving-compat-0.3.5/src/Text/Read/Deriving/Internal.hs 2016-12-12 16:56:51.000000000 +0100
+++ new/deriving-compat-0.3.6/src/Text/Read/Deriving/Internal.hs 2017-04-11 02:10:34.000000000 +0200
@@ -2,7 +2,7 @@
{-# LANGUAGE GADTs #-}
{-|
Module: Text.Read.Deriving
-Copyright: (C) 2015-2016 Ryan Scott
+Copyright: (C) 2015-2017 Ryan Scott
License: BSD-style (see the file LICENSE)
Maintainer: Ryan Scott
Portability: Template Haskell
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/deriving-compat-0.3.5/src/Text/Read/Deriving.hs new/deriving-compat-0.3.6/src/Text/Read/Deriving.hs
--- old/deriving-compat-0.3.5/src/Text/Read/Deriving.hs 2016-12-12 16:56:51.000000000 +0100
+++ new/deriving-compat-0.3.6/src/Text/Read/Deriving.hs 2017-04-11 02:10:34.000000000 +0200
@@ -1,7 +1,7 @@
{-# LANGUAGE CPP #-}
{-|
Module: Text.Read.Deriving
-Copyright: (C) 2015-2016 Ryan Scott
+Copyright: (C) 2015-2017 Ryan Scott
License: BSD-style (see the file LICENSE)
Maintainer: Ryan Scott
Portability: Template Haskell
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/deriving-compat-0.3.5/src/Text/Show/Deriving/Internal.hs new/deriving-compat-0.3.6/src/Text/Show/Deriving/Internal.hs
--- old/deriving-compat-0.3.5/src/Text/Show/Deriving/Internal.hs 2016-12-12 16:56:51.000000000 +0100
+++ new/deriving-compat-0.3.6/src/Text/Show/Deriving/Internal.hs 2017-04-11 02:10:34.000000000 +0200
@@ -2,7 +2,7 @@
{-# LANGUAGE GADTs #-}
{-|
Module: Text.Show.Deriving.Internal
-Copyright: (C) 2015-2016 Ryan Scott
+Copyright: (C) 2015-2017 Ryan Scott
License: BSD-style (see the file LICENSE)
Maintainer: Ryan Scott
Portability: Template Haskell
@@ -394,7 +394,7 @@
(showString argNameBase) ""
in [ varE showStringValName `appE` stringE (infixRec ++ " = ")
, makeShowForArg 0 sClass opts conName tvMap argTy arg
- , varE showStringValName `appE` stringE ", "
+ , varE showCommaSpaceValName
]
)
(zip3 ts argTys args)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/deriving-compat-0.3.5/src/Text/Show/Deriving.hs new/deriving-compat-0.3.6/src/Text/Show/Deriving.hs
--- old/deriving-compat-0.3.5/src/Text/Show/Deriving.hs 2016-12-12 16:56:51.000000000 +0100
+++ new/deriving-compat-0.3.6/src/Text/Show/Deriving.hs 2017-04-11 02:10:34.000000000 +0200
@@ -1,7 +1,7 @@
{-# LANGUAGE CPP #-}
{-|
Module: Text.Show.Deriving
-Copyright: (C) 2015-2016 Ryan Scott
+Copyright: (C) 2015-2017 Ryan Scott
License: BSD-style (see the file LICENSE)
Maintainer: Ryan Scott
Portability: Template Haskell
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/deriving-compat-0.3.5/tests/BoundedEnumIxSpec.hs new/deriving-compat-0.3.6/tests/BoundedEnumIxSpec.hs
--- old/deriving-compat-0.3.5/tests/BoundedEnumIxSpec.hs 2016-12-12 16:56:51.000000000 +0100
+++ new/deriving-compat-0.3.6/tests/BoundedEnumIxSpec.hs 2017-04-11 02:10:34.000000000 +0200
@@ -12,7 +12,7 @@
{-|
Module: BoundedEnumSpec
-Copyright: (C) 2015-2016 Ryan Scott
+Copyright: (C) 2015-2017 Ryan Scott
License: BSD-style (see the file LICENSE)
Maintainer: Ryan Scott
Portability: Template Haskell
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/deriving-compat-0.3.5/tests/EqSpec.hs new/deriving-compat-0.3.6/tests/EqSpec.hs
--- old/deriving-compat-0.3.5/tests/EqSpec.hs 2016-12-12 16:56:51.000000000 +0100
+++ new/deriving-compat-0.3.6/tests/EqSpec.hs 2017-04-11 02:10:34.000000000 +0200
@@ -1,6 +1,6 @@
{-|
Module: EqSpec
-Copyright: (C) 2015-2016 Ryan Scott
+Copyright: (C) 2015-2017 Ryan Scott
License: BSD-style (see the file LICENSE)
Maintainer: Ryan Scott
Portability: Template Haskell
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/deriving-compat-0.3.5/tests/FunctorSpec.hs new/deriving-compat-0.3.6/tests/FunctorSpec.hs
--- old/deriving-compat-0.3.5/tests/FunctorSpec.hs 2016-12-12 16:56:51.000000000 +0100
+++ new/deriving-compat-0.3.6/tests/FunctorSpec.hs 2017-04-11 02:10:34.000000000 +0200
@@ -17,7 +17,7 @@
{-|
Module: FunctorSpec
-Copyright: (C) 2015-2016 Ryan Scott
+Copyright: (C) 2015-2017 Ryan Scott
License: BSD-style (see the file LICENSE)
Maintainer: Ryan Scott
Portability: Template Haskell
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/deriving-compat-0.3.5/tests/GH6Spec.hs new/deriving-compat-0.3.6/tests/GH6Spec.hs
--- old/deriving-compat-0.3.5/tests/GH6Spec.hs 2016-12-12 16:56:51.000000000 +0100
+++ new/deriving-compat-0.3.6/tests/GH6Spec.hs 2017-04-11 02:10:34.000000000 +0200
@@ -2,7 +2,7 @@
{-|
Module: GH6Spec
-Copyright: (C) 2015-2016 Ryan Scott
+Copyright: (C) 2015-2017 Ryan Scott
License: BSD-style (see the file LICENSE)
Maintainer: Ryan Scott
Portability: Template Haskell
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/deriving-compat-0.3.5/tests/OrdSpec.hs new/deriving-compat-0.3.6/tests/OrdSpec.hs
--- old/deriving-compat-0.3.5/tests/OrdSpec.hs 2016-12-12 16:56:51.000000000 +0100
+++ new/deriving-compat-0.3.6/tests/OrdSpec.hs 2017-04-11 02:10:34.000000000 +0200
@@ -2,7 +2,7 @@
{-|
Module: OrdSpec
-Copyright: (C) 2015-2016 Ryan Scott
+Copyright: (C) 2015-2017 Ryan Scott
License: BSD-style (see the file LICENSE)
Maintainer: Ryan Scott
Portability: Template Haskell
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/deriving-compat-0.3.5/tests/ReadSpec.hs new/deriving-compat-0.3.6/tests/ReadSpec.hs
--- old/deriving-compat-0.3.5/tests/ReadSpec.hs 2016-12-12 16:56:51.000000000 +0100
+++ new/deriving-compat-0.3.6/tests/ReadSpec.hs 2017-04-11 02:10:34.000000000 +0200
@@ -6,7 +6,7 @@
{-|
Module: ReadSpec
-Copyright: (C) 2015-2016 Ryan Scott
+Copyright: (C) 2015-2017 Ryan Scott
License: BSD-style (see the file LICENSE)
Maintainer: Ryan Scott
Portability: Template Haskell
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/deriving-compat-0.3.5/tests/ShowSpec.hs new/deriving-compat-0.3.6/tests/ShowSpec.hs
--- old/deriving-compat-0.3.5/tests/ShowSpec.hs 2016-12-12 16:56:51.000000000 +0100
+++ new/deriving-compat-0.3.6/tests/ShowSpec.hs 2017-04-11 02:10:34.000000000 +0200
@@ -8,7 +8,7 @@
{-|
Module: ShowSpec
-Copyright: (C) 2015-2016 Ryan Scott
+Copyright: (C) 2015-2017 Ryan Scott
License: BSD-style (see the file LICENSE)
Maintainer: Ryan Scott
Portability: Template Haskell
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/deriving-compat-0.3.5/tests/Types/EqOrd.hs new/deriving-compat-0.3.6/tests/Types/EqOrd.hs
--- old/deriving-compat-0.3.5/tests/Types/EqOrd.hs 2016-12-12 16:56:51.000000000 +0100
+++ new/deriving-compat-0.3.6/tests/Types/EqOrd.hs 2017-04-11 02:10:34.000000000 +0200
@@ -8,7 +8,7 @@
{-|
Module: Types.EqOrd
-Copyright: (C) 2015-2016 Ryan Scott
+Copyright: (C) 2015-2017 Ryan Scott
License: BSD-style (see the file LICENSE)
Maintainer: Ryan Scott
Portability: Template Haskell
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/deriving-compat-0.3.5/tests/Types/ReadShow.hs new/deriving-compat-0.3.6/tests/Types/ReadShow.hs
--- old/deriving-compat-0.3.5/tests/Types/ReadShow.hs 2016-12-12 16:56:51.000000000 +0100
+++ new/deriving-compat-0.3.6/tests/Types/ReadShow.hs 2017-04-11 02:10:34.000000000 +0200
@@ -8,7 +8,7 @@
{-|
Module: Types.ReadShow
-Copyright: (C) 2015-2016 Ryan Scott
+Copyright: (C) 2015-2017 Ryan Scott
License: BSD-style (see the file LICENSE)
Maintainer: Ryan Scott
Portability: Template Haskell