Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package ghc-commutative-semigroups for 
openSUSE:Factory checked in at 2024-04-21 20:29:28
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/ghc-commutative-semigroups (Old)
 and      /work/SRC/openSUSE:Factory/.ghc-commutative-semigroups.new.26366 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "ghc-commutative-semigroups"

Sun Apr 21 20:29:28 2024 rev:4 rq:1169520 version:0.1.1.0

Changes:
--------
--- 
/work/SRC/openSUSE:Factory/ghc-commutative-semigroups/ghc-commutative-semigroups.changes
    2024-01-03 12:25:08.719822165 +0100
+++ 
/work/SRC/openSUSE:Factory/.ghc-commutative-semigroups.new.26366/ghc-commutative-semigroups.changes
 2024-04-21 20:30:45.093564042 +0200
@@ -1,0 +2,8 @@
+Sun Apr  7 03:31:05 UTC 2024 - Peter Simons <[email protected]>
+
+- Update commutative-semigroups to version 0.1.1.0.
+  ## 0.1.1.0 -- 2024-03-24
+
+  - Added more trivial instances for semigroups from base
+
+-------------------------------------------------------------------

Old:
----
  commutative-semigroups-0.1.0.2.tar.gz

New:
----
  commutative-semigroups-0.1.1.0.tar.gz

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ ghc-commutative-semigroups.spec ++++++
--- /var/tmp/diff_new_pack.9NlufF/_old  2024-04-21 20:30:45.533580195 +0200
+++ /var/tmp/diff_new_pack.9NlufF/_new  2024-04-21 20:30:45.533580195 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package ghc-commutative-semigroups
 #
-# Copyright (c) 2023 SUSE LLC
+# Copyright (c) 2024 SUSE LLC
 #
 # 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 commutative-semigroups
 %global pkgver %{pkg_name}-%{version}
 Name:           ghc-%{pkg_name}
-Version:        0.1.0.2
+Version:        0.1.1.0
 Release:        0
 Summary:        Commutative semigroups
 License:        BSD-3-Clause

++++++ commutative-semigroups-0.1.0.2.tar.gz -> 
commutative-semigroups-0.1.1.0.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/commutative-semigroups-0.1.0.2/ChangeLog.md 
new/commutative-semigroups-0.1.1.0/ChangeLog.md
--- old/commutative-semigroups-0.1.0.2/ChangeLog.md     2001-09-09 
03:46:40.000000000 +0200
+++ new/commutative-semigroups-0.1.1.0/ChangeLog.md     2001-09-09 
03:46:40.000000000 +0200
@@ -1,5 +1,9 @@
 # Revision history for commutative-semigroups
 
+## 0.1.1.0 -- 2024-03-24
+
+- Added more trivial instances for semigroups from base
+
 ## 0.1.0.2 -- 2023-12-22
 
 - Support GHC 9.8.1
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/commutative-semigroups-0.1.0.2/commutative-semigroups.cabal 
new/commutative-semigroups-0.1.1.0/commutative-semigroups.cabal
--- old/commutative-semigroups-0.1.0.2/commutative-semigroups.cabal     
2001-09-09 03:46:40.000000000 +0200
+++ new/commutative-semigroups-0.1.1.0/commutative-semigroups.cabal     
2001-09-09 03:46:40.000000000 +0200
@@ -1,6 +1,6 @@
 cabal-version:       2.4
 name:                commutative-semigroups
-version:             0.1.0.2
+version:             0.1.1.0
 synopsis:            Commutative semigroups
 description:
   A commutative semigroup is a semigroup where the order of arguments to 
mappend does not matter.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/commutative-semigroups-0.1.0.2/src/Data/Semigroup/Commutative.hs 
new/commutative-semigroups-0.1.1.0/src/Data/Semigroup/Commutative.hs
--- old/commutative-semigroups-0.1.0.2/src/Data/Semigroup/Commutative.hs        
2001-09-09 03:46:40.000000000 +0200
+++ new/commutative-semigroups-0.1.1.0/src/Data/Semigroup/Commutative.hs        
2001-09-09 03:46:40.000000000 +0200
@@ -13,12 +13,19 @@
 #if MIN_VERSION_base(4,7,0)
 import Data.Proxy
 #endif
+#if MIN_VERSION_base(4,8,0)
+import Data.Void (Void)
+#endif
 #if MIN_VERSION_base(4,9,0) && !MIN_VERSION_base(4,11,0)
 import Data.Semigroup (Semigroup(..))
 #endif
 #if MIN_VERSION_base(4,9,0)
 import Data.Functor.Const
 import Data.Functor.Identity
+import Data.Semigroup (Max, Min, WrappedMonoid)
+#endif
+#if MIN_VERSION_base(4,10,0)
+import GHC.Event (Event, Lifetime)
 #endif
 #if MIN_VERSION_base(4,12,0)
 import Data.Functor.Contravariant (Op(Op))
@@ -26,7 +33,7 @@
 #endif
 import Numeric.Product.Commutative ( CommutativeProduct )
 
--- |An 'Commutative' semigroup is a 'Semigroup' that follows the rule:
+-- | A 'Commutative' semigroup is a 'Semigroup' that follows the rule:
 --
 -- @a \<> b == b \<> a@
 class
@@ -40,6 +47,24 @@
 -- | Trivial commutative semigroup.
 instance Commutative ()
 
+instance Commutative All
+instance Commutative Any
+
+#if MIN_VERSION_base(4,8,0)
+instance Commutative Void
+#endif
+
+#if MIN_VERSION_base(4,9,0)
+instance Ord a => Commutative (Max a)
+instance Ord a => Commutative (Min a)
+instance (Commutative a, Monoid a) => Commutative (WrappedMonoid a)
+#endif
+
+#if MIN_VERSION_base(4,10,0)
+instance Commutative Event
+instance Commutative Lifetime
+#endif
+
 -- | @since 0.0.1.0
 instance Commutative a => Commutative (Maybe a)
 

Reply via email to