Hello community, here is the log from the commit of package ghc-invariant for openSUSE:Factory checked in at 2019-05-12 11:35:44 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/ghc-invariant (Old) and /work/SRC/openSUSE:Factory/.ghc-invariant.new.5148 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "ghc-invariant" Sun May 12 11:35:44 2019 rev:5 rq:701769 version:0.5.3 Changes: -------- --- /work/SRC/openSUSE:Factory/ghc-invariant/ghc-invariant.changes 2019-05-09 10:10:07.065149620 +0200 +++ /work/SRC/openSUSE:Factory/.ghc-invariant.new.5148/ghc-invariant.changes 2019-05-12 11:35:52.702305462 +0200 @@ -1,0 +2,8 @@ +Fri May 3 02:03:06 UTC 2019 - psim...@suse.com + +- Update invariant to version 0.5.3. + # 0.5.3 [2019.05.02] + * Implement `foldMap'` in the `Foldable` instance for `WrappedFunctor` when + building with `base-4.13` or later. + +------------------------------------------------------------------- Old: ---- invariant-0.5.2.tar.gz New: ---- invariant-0.5.3.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ ghc-invariant.spec ++++++ --- /var/tmp/diff_new_pack.H8Dtui/_old 2019-05-12 11:35:55.378313295 +0200 +++ /var/tmp/diff_new_pack.H8Dtui/_new 2019-05-12 11:35:55.382313307 +0200 @@ -19,7 +19,7 @@ %global pkg_name invariant %bcond_with tests Name: ghc-%{pkg_name} -Version: 0.5.2 +Version: 0.5.3 Release: 0 Summary: Haskell98 invariant functors License: BSD-2-Clause ++++++ invariant-0.5.2.tar.gz -> invariant-0.5.3.tar.gz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/invariant-0.5.2/CHANGELOG.md new/invariant-0.5.3/CHANGELOG.md --- old/invariant-0.5.2/CHANGELOG.md 2001-09-09 03:46:40.000000000 +0200 +++ new/invariant-0.5.3/CHANGELOG.md 2001-09-09 03:46:40.000000000 +0200 @@ -1,3 +1,7 @@ +# 0.5.3 [2019.05.02] +* Implement `foldMap'` in the `Foldable` instance for `WrappedFunctor` when + building with `base-4.13` or later. + # 0.5.2 [2019.04.26] * Support `th-abstraction-0.3.0.0` or later. * Only incur a `semigroups` dependency on old GHCs. diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/invariant-0.5.2/invariant.cabal new/invariant-0.5.3/invariant.cabal --- old/invariant-0.5.2/invariant.cabal 2001-09-09 03:46:40.000000000 +0200 +++ new/invariant-0.5.3/invariant.cabal 2001-09-09 03:46:40.000000000 +0200 @@ -1,5 +1,5 @@ name: invariant -version: 0.5.2 +version: 0.5.3 synopsis: Haskell98 invariant functors description: Haskell98 invariant functors (also known as exponential functors). . @@ -25,7 +25,8 @@ , GHC == 8.0.2 , GHC == 8.2.2 , GHC == 8.4.4 - , GHC == 8.6.4 + , GHC == 8.6.5 + , GHC == 8.8.1 extra-source-files: CHANGELOG.md, README.md source-repository head @@ -49,7 +50,7 @@ , StateVar >= 1.1 && < 2 , stm >= 2.2 && < 3 , tagged >= 0.7.3 && < 1 - , template-haskell >= 2.4 && < 2.15 + , template-haskell >= 2.4 && < 2.16 , th-abstraction >= 0.2.2 && < 0.4 , transformers >= 0.2 && < 0.6 , transformers-compat >= 0.3 && < 1 @@ -69,6 +70,6 @@ , hspec >= 1.8 , invariant , QuickCheck >= 2.11 && < 3 - , template-haskell >= 2.4 && < 2.15 + , template-haskell >= 2.4 && < 2.16 build-tool-depends: hspec-discover:hspec-discover ghc-options: -Wall diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/invariant-0.5.2/src/Data/Functor/Invariant.hs new/invariant-0.5.3/src/Data/Functor/Invariant.hs --- old/invariant-0.5.2/src/Data/Functor/Invariant.hs 2001-09-09 03:46:40.000000000 +0200 +++ new/invariant-0.5.3/src/Data/Functor/Invariant.hs 2001-09-09 03:46:40.000000000 +0200 @@ -592,6 +592,9 @@ sum = F.sum . unwrapFunctor product = F.product . unwrapFunctor #endif +#if MIN_VERSION_base(4,13,0) + foldMap' f = F.foldMap' f . unwrapFunctor +#endif instance T.Traversable f => T.Traversable (WrappedFunctor f) where traverse f = fmap WrapFunctor . T.traverse f . unwrapFunctor