Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package ghc-barbies for openSUSE:Factory checked in at 2023-01-18 13:09:38 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/ghc-barbies (Old) and /work/SRC/openSUSE:Factory/.ghc-barbies.new.32243 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "ghc-barbies" Wed Jan 18 13:09:38 2023 rev:2 rq:1059051 version:2.0.4.0 Changes: -------- --- /work/SRC/openSUSE:Factory/ghc-barbies/ghc-barbies.changes 2022-02-11 23:10:14.843091373 +0100 +++ /work/SRC/openSUSE:Factory/.ghc-barbies.new.32243/ghc-barbies.changes 2023-01-18 13:09:46.428454163 +0100 @@ -1,0 +2,7 @@ +Fri Dec 16 19:39:47 UTC 2022 - Peter Simons <[email protected]> + +- Update barbies to version 2.0.4.0. + ## 2.0.4.0 + - Add FunctorT and DistributiveT instances for AccumT + +------------------------------------------------------------------- Old: ---- barbies-2.0.3.1.tar.gz New: ---- barbies-2.0.4.0.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ ghc-barbies.spec ++++++ --- /var/tmp/diff_new_pack.poRvqj/_old 2023-01-18 13:09:46.996457425 +0100 +++ /var/tmp/diff_new_pack.poRvqj/_new 2023-01-18 13:09:47.004457471 +0100 @@ -19,7 +19,7 @@ %global pkg_name barbies %bcond_with tests Name: ghc-%{pkg_name} -Version: 2.0.3.1 +Version: 2.0.4.0 Release: 0 Summary: Classes for working with types that can change clothes License: BSD-3-Clause ++++++ barbies-2.0.3.1.tar.gz -> barbies-2.0.4.0.tar.gz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/barbies-2.0.3.1/ChangeLog.md new/barbies-2.0.4.0/ChangeLog.md --- old/barbies-2.0.3.1/ChangeLog.md 2022-01-05 18:32:38.000000000 +0100 +++ new/barbies-2.0.4.0/ChangeLog.md 2001-09-09 03:46:40.000000000 +0200 @@ -1,5 +1,8 @@ # Changelog for barbies +## 2.0.4.0 + - Add FunctorT and DistributiveT instances for AccumT + ## 2.0.3.1 - Compatibility changes for GHC 9.2 (Dan Dart) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/barbies-2.0.3.1/barbies.cabal new/barbies-2.0.4.0/barbies.cabal --- old/barbies-2.0.3.1/barbies.cabal 2022-01-05 18:32:51.000000000 +0100 +++ new/barbies-2.0.4.0/barbies.cabal 2001-09-09 03:46:40.000000000 +0200 @@ -1,5 +1,5 @@ name: barbies -version: 2.0.3.1 +version: 2.0.4.0 synopsis: Classes for working with types that can change clothes. description: Types that are parametric on a functor are like Barbies that have an outfit for each role. This package provides the basic abstractions to work with them comfortably. category: Data Structures diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/barbies-2.0.3.1/src/Barbies/Internal/DistributiveT.hs new/barbies-2.0.4.0/src/Barbies/Internal/DistributiveT.hs --- old/barbies-2.0.3.1/src/Barbies/Internal/DistributiveT.hs 2021-04-13 23:25:58.000000000 +0200 +++ new/barbies-2.0.4.0/src/Barbies/Internal/DistributiveT.hs 2001-09-09 03:46:40.000000000 +0200 @@ -1,3 +1,4 @@ +{-# LANGUAGE CPP #-} {-# LANGUAGE PolyKinds #-} {-# LANGUAGE TypeFamilies #-} {-# LANGUAGE UndecidableInstances #-} @@ -19,6 +20,9 @@ import Control.Applicative.Backwards(Backwards (..)) +#if MIN_VERSION_transformers(0,5,3) +import Control.Monad.Trans.Accum(AccumT(..), runAccumT) +#endif import Control.Monad.Trans.Except(ExceptT(..), runExceptT) import Control.Monad.Trans.Identity(IdentityT(..)) import Control.Monad.Trans.Maybe(MaybeT(..)) @@ -169,6 +173,12 @@ -- -- Instances for transformers types -- -- -------------------------------- +#if MIN_VERSION_transformers(0,5,3) +instance DistributiveT (AccumT w) where + tdistribute fh = AccumT $ \w -> Compose $ fmap (\h -> runAccumT h w) fh + {-# INLINE tdistribute #-} +#endif + instance DistributiveT Backwards where tdistribute = Backwards . Compose . fmap forwards {-# INLINE tdistribute #-} diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/barbies-2.0.3.1/src/Barbies/Internal/FunctorT.hs new/barbies-2.0.4.0/src/Barbies/Internal/FunctorT.hs --- old/barbies-2.0.3.1/src/Barbies/Internal/FunctorT.hs 2021-06-26 16:23:01.000000000 +0200 +++ new/barbies-2.0.4.0/src/Barbies/Internal/FunctorT.hs 2001-09-09 03:46:40.000000000 +0200 @@ -1,3 +1,4 @@ +{-# LANGUAGE CPP #-} {-# LANGUAGE PolyKinds #-} {-# LANGUAGE TypeFamilies #-} {-# LANGUAGE UndecidableInstances #-} @@ -15,6 +16,9 @@ import Control.Applicative.Backwards(Backwards (..)) import Control.Applicative.Lift(Lift, mapLift ) +#if MIN_VERSION_transformers(0,5,3) +import Control.Monad.Trans.Accum(AccumT, mapAccumT) +#endif import Control.Monad.Trans.Except(ExceptT, mapExceptT) import Control.Monad.Trans.Identity(IdentityT, mapIdentityT) import Control.Monad.Trans.Maybe(MaybeT, mapMaybeT) @@ -142,6 +146,12 @@ -- Instances for transformers types -- -------------------------------- +#if MIN_VERSION_transformers(0,5,3) +instance FunctorT (AccumT w) where + tmap h = mapAccumT h + {-# INLINE tmap #-} +#endif + instance FunctorT Backwards where tmap h (Backwards fa) = Backwards (h fa)
