Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package ghc-semigroupoids for
openSUSE:Factory checked in at 2022-02-11 23:09:35
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/ghc-semigroupoids (Old)
and /work/SRC/openSUSE:Factory/.ghc-semigroupoids.new.1956 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "ghc-semigroupoids"
Fri Feb 11 23:09:35 2022 rev:23 rq:953523 version:5.3.7
Changes:
--------
--- /work/SRC/openSUSE:Factory/ghc-semigroupoids/ghc-semigroupoids.changes
2021-12-19 17:34:19.432260179 +0100
+++
/work/SRC/openSUSE:Factory/.ghc-semigroupoids.new.1956/ghc-semigroupoids.changes
2022-02-11 23:11:31.699313663 +0100
@@ -1,0 +2,26 @@
+Mon Jan 10 00:07:09 UTC 2022 - Peter Simons <[email protected]>
+
+- Update semigroupoids to version 5.3.7.
+ 5.3.7 [2022.01.09]
+ ------------------
+ * Relax the `Bind` constraints in the following instances to `Functor`:
+
+ ```diff
+ -instance (Bind f, Monad f) => Alt (MaybeT f)
+ -instance (Bind f, Monad f) => Plus (MaybeT f)
+ +instance (Functor f, Monad f) => Alt (MaybeT f)
+ +instance (Functor f, Monad f) => Plus (MaybeT f)
+
+ -instance (Bind f, Monad f, Semigroup e) => Alt (ExceptT e f)
+ -instance (Bind f, Monad f, Semigroup e, Monoid e) => Plus (ExceptT e f)
+ +instance (Functor f, Monad f, Semigroup e) => Alt (ExceptT e f)
+ +instance (Functor f, Monad f, Semigroup e, Monoid e) => Plus (ExceptT e f)
+
+ -- If building with transformers-0.5.* or older
+ -instance (Bind f, Monad f) => Alt (ErrorT e f)
+ -instance (Bind f, Monad f, Error e) => Plus (ErrorT e f
+ +instance (Functor f, Monad f) => Alt (ErrorT e f)
+ +instance (Functor f, Monad f, Error e) => Plus (ErrorT e f)
+ ```
+
+-------------------------------------------------------------------
Old:
----
semigroupoids-5.3.6.tar.gz
semigroupoids.cabal
New:
----
semigroupoids-5.3.7.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ ghc-semigroupoids.spec ++++++
--- /var/tmp/diff_new_pack.eOCkKt/_old 2022-02-11 23:11:32.143314947 +0100
+++ /var/tmp/diff_new_pack.eOCkKt/_new 2022-02-11 23:11:32.147314958 +0100
@@ -1,7 +1,7 @@
#
# spec file for package ghc-semigroupoids
#
-# Copyright (c) 2021 SUSE LLC
+# Copyright (c) 2022 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -18,13 +18,12 @@
%global pkg_name semigroupoids
Name: ghc-%{pkg_name}
-Version: 5.3.6
+Version: 5.3.7
Release: 0
Summary: Semigroupoids: Category sans id
License: BSD-2-Clause
URL: https://hackage.haskell.org/package/%{pkg_name}
Source0:
https://hackage.haskell.org/package/%{pkg_name}-%{version}/%{pkg_name}-%{version}.tar.gz
-Source1:
https://hackage.haskell.org/package/%{pkg_name}-%{version}/revision/2.cabal#/%{pkg_name}.cabal
BuildRequires: ghc-Cabal-devel
BuildRequires: ghc-base-orphans-devel
BuildRequires: ghc-bifunctors-devel
@@ -67,7 +66,7 @@
indicate a subclass relationship that actually exists; dashed edges indicate a
subclass relationship that /should/ exist, but currently doesn't.
-<<https://raw.githubusercontent.com/ekmett/semigroupoids/b9151e725856265717fe462c7abe4e59417ec593/img/classes.svg
+<<https://raw.githubusercontent.com/ekmett/semigroupoids/master/img/classes.svg
Relationships among type classes from this package and others>>
Apply, Bind, and Extend (not shown) give rise the Static, Kleisli and Cokleisli
@@ -93,7 +92,6 @@
%prep
%autosetup -n %{pkg_name}-%{version}
-cp -p %{SOURCE1} %{pkg_name}.cabal
%build
%ghc_lib_build
++++++ semigroupoids-5.3.6.tar.gz -> semigroupoids-5.3.7.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/semigroupoids-5.3.6/CHANGELOG.markdown
new/semigroupoids-5.3.7/CHANGELOG.markdown
--- old/semigroupoids-5.3.6/CHANGELOG.markdown 2001-09-09 03:46:40.000000000
+0200
+++ new/semigroupoids-5.3.7/CHANGELOG.markdown 2001-09-09 03:46:40.000000000
+0200
@@ -1,3 +1,25 @@
+5.3.7 [2022.01.09]
+------------------
+* Relax the `Bind` constraints in the following instances to `Functor`:
+
+ ```diff
+ -instance (Bind f, Monad f) => Alt (MaybeT f)
+ -instance (Bind f, Monad f) => Plus (MaybeT f)
+ +instance (Functor f, Monad f) => Alt (MaybeT f)
+ +instance (Functor f, Monad f) => Plus (MaybeT f)
+
+ -instance (Bind f, Monad f, Semigroup e) => Alt (ExceptT e f)
+ -instance (Bind f, Monad f, Semigroup e, Monoid e) => Plus (ExceptT e f)
+ +instance (Functor f, Monad f, Semigroup e) => Alt (ExceptT e f)
+ +instance (Functor f, Monad f, Semigroup e, Monoid e) => Plus (ExceptT e f)
+
+ -- If building with transformers-0.5.* or older
+ -instance (Bind f, Monad f) => Alt (ErrorT e f)
+ -instance (Bind f, Monad f, Error e) => Plus (ErrorT e f
+ +instance (Functor f, Monad f) => Alt (ErrorT e f)
+ +instance (Functor f, Monad f, Error e) => Plus (ErrorT e f)
+ ```
+
5.3.6 [2021.10.07]
------------------
* Allow building with GHC 9.2.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/semigroupoids-5.3.6/semigroupoids.cabal
new/semigroupoids-5.3.7/semigroupoids.cabal
--- old/semigroupoids-5.3.6/semigroupoids.cabal 2001-09-09 03:46:40.000000000
+0200
+++ new/semigroupoids-5.3.7/semigroupoids.cabal 2001-09-09 03:46:40.000000000
+0200
@@ -1,6 +1,6 @@
name: semigroupoids
category: Control, Comonads
-version: 5.3.6
+version: 5.3.7
license: BSD2
cabal-version: 1.18
license-file: LICENSE
@@ -54,7 +54,7 @@
indicate a subclass relationship that actually exists; dashed edges indicate
a
subclass relationship that /should/ exist, but currently doesn't.
.
- <<img/classes.svg Relationships among type classes from this package and
others>>
+
<<https://raw.githubusercontent.com/ekmett/semigroupoids/master/img/classes.svg
Relationships among type classes from this package and others>>
.
Apply, Bind, and Extend (not shown) give rise the Static, Kleisli and
Cokleisli semigroupoids respectively.
.
@@ -164,10 +164,10 @@
if flag(unordered-containers)
if impl(ghc >= 7.4)
- build-depends: hashable >= 1.2.7.0 && < 1.4,
+ build-depends: hashable >= 1.2.7.0 && < 1.5,
unordered-containers >= 0.2.8.0 && < 0.3
else
- build-depends: hashable >= 1.2.5.0 && < 1.4,
+ build-depends: hashable >= 1.2.5.0 && < 1.5,
unordered-containers >= 0.2.8.0 && < 0.3
hs-source-dirs: src
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/semigroupoids-5.3.6/src/Data/Functor/Alt.hs
new/semigroupoids-5.3.7/src/Data/Functor/Alt.hs
--- old/semigroupoids-5.3.6/src/Data/Functor/Alt.hs 2001-09-09
03:46:40.000000000 +0200
+++ new/semigroupoids-5.3.7/src/Data/Functor/Alt.hs 2001-09-09
03:46:40.000000000 +0200
@@ -50,7 +50,6 @@
import qualified Control.Monad.Trans.State.Lazy as Lazy
import qualified Control.Monad.Trans.Writer.Lazy as Lazy
import Data.Functor.Apply
-import Data.Functor.Bind
import Data.Functor.Compose
import Data.Functor.Identity (Identity (Identity))
import Data.Functor.Product
@@ -253,7 +252,7 @@
instance Alt f => Alt (ReaderT e f) where
ReaderT a <!> ReaderT b = ReaderT $ \e -> a e <!> b e
-instance (Bind f, Monad f) => Alt (MaybeT f) where
+instance (Functor f, Monad f) => Alt (MaybeT f) where
MaybeT a <!> MaybeT b = MaybeT $ do
v <- a
case v of
@@ -261,7 +260,7 @@
Just _ -> return v
#if !(MIN_VERSION_transformers(0,6,0))
-instance (Bind f, Monad f) => Alt (ErrorT e f) where
+instance (Functor f, Monad f) => Alt (ErrorT e f) where
ErrorT m <!> ErrorT n = ErrorT $ do
a <- m
case a of
@@ -272,7 +271,7 @@
ListT a <!> ListT b = ListT $ (<!>) <$> a <.> b
#endif
-instance (Bind f, Monad f, Semigroup e) => Alt (ExceptT e f) where
+instance (Functor f, Monad f, Semigroup e) => Alt (ExceptT e f) where
ExceptT m <!> ExceptT n = ExceptT $ do
a <- m
case a of
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/semigroupoids-5.3.6/src/Data/Functor/Plus.hs
new/semigroupoids-5.3.7/src/Data/Functor/Plus.hs
--- old/semigroupoids-5.3.6/src/Data/Functor/Plus.hs 2001-09-09
03:46:40.000000000 +0200
+++ new/semigroupoids-5.3.7/src/Data/Functor/Plus.hs 2001-09-09
03:46:40.000000000 +0200
@@ -43,7 +43,6 @@
import Data.Foldable hiding (asum)
import Data.Functor.Apply
import Data.Functor.Alt
-import Data.Functor.Bind
import Data.Functor.Compose
import Data.Functor.Product
import Data.Functor.Reverse
@@ -158,18 +157,18 @@
instance Plus f => Plus (ReaderT e f) where
zero = ReaderT $ \_ -> zero
-instance (Bind f, Monad f) => Plus (MaybeT f) where
+instance (Functor f, Monad f) => Plus (MaybeT f) where
zero = MaybeT $ return zero
#if !(MIN_VERSION_transformers(0,6,0))
-instance (Bind f, Monad f, Error e) => Plus (ErrorT e f) where
+instance (Functor f, Monad f, Error e) => Plus (ErrorT e f) where
zero = ErrorT $ return $ Left noMsg
instance (Apply f, Applicative f) => Plus (ListT f) where
zero = ListT $ pure []
#endif
-instance (Bind f, Monad f, Semigroup e, Monoid e) => Plus (ExceptT e f) where
+instance (Functor f, Monad f, Semigroup e, Monoid e) => Plus (ExceptT e f)
where
zero = ExceptT $ return $ Left mempty
instance Plus f => Plus (Strict.StateT e f) where