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 2026-06-10 16:05:40
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/ghc-semigroupoids (Old)
and /work/SRC/openSUSE:Factory/.ghc-semigroupoids.new.2375 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "ghc-semigroupoids"
Wed Jun 10 16:05:40 2026 rev:29 rq:1358432 version:6.0.2
Changes:
--------
--- /work/SRC/openSUSE:Factory/ghc-semigroupoids/ghc-semigroupoids.changes
2025-03-10 18:04:56.985627109 +0100
+++
/work/SRC/openSUSE:Factory/.ghc-semigroupoids.new.2375/ghc-semigroupoids.changes
2026-06-10 16:09:28.933318551 +0200
@@ -1,0 +2,15 @@
+Sun Jan 11 02:52:06 UTC 2026 - Peter Simons <[email protected]>
+
+- Update semigroupoids to version 6.0.2 revision 1.
+ Upstream has revised the Cabal build instructions on Hackage.
+
+-------------------------------------------------------------------
+Sat Jan 10 20:49:26 UTC 2026 - Peter Simons <[email protected]>
+
+- Update semigroupoids to version 6.0.2.
+ 6.0.2 [2026.01.10]
+ ------------------
+ * Add `Apply` and `Bind` instances for strict and lazy `ST`.
+ * Remove unused `distributive` dependency.
+
+-------------------------------------------------------------------
Old:
----
semigroupoids-6.0.1.tar.gz
New:
----
semigroupoids-6.0.2.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ ghc-semigroupoids.spec ++++++
--- /var/tmp/diff_new_pack.1CHDXI/_old 2026-06-10 16:09:33.821521119 +0200
+++ /var/tmp/diff_new_pack.1CHDXI/_new 2026-06-10 16:09:33.821521119 +0200
@@ -1,7 +1,7 @@
#
# spec file for package ghc-semigroupoids
#
-# Copyright (c) 2025 SUSE LLC
+# Copyright (c) 2026 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -19,13 +19,13 @@
%global pkg_name semigroupoids
%global pkgver %{pkg_name}-%{version}
Name: ghc-%{pkg_name}
-Version: 6.0.1
+Version: 6.0.2
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
+Source1:
https://hackage.haskell.org/package/%{pkg_name}-%{version}/revision/1.cabal#/%{pkg_name}.cabal
BuildRequires: ghc-Cabal-devel
BuildRequires: ghc-base-devel
BuildRequires: ghc-base-orphans-devel
@@ -39,8 +39,6 @@
BuildRequires: ghc-containers-prof
BuildRequires: ghc-contravariant-devel
BuildRequires: ghc-contravariant-prof
-BuildRequires: ghc-distributive-devel
-BuildRequires: ghc-distributive-prof
BuildRequires: ghc-hashable-devel
BuildRequires: ghc-hashable-prof
BuildRequires: ghc-rpm-macros
++++++ semigroupoids-6.0.1.tar.gz -> semigroupoids-6.0.2.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/semigroupoids-6.0.1/CHANGELOG.markdown
new/semigroupoids-6.0.2/CHANGELOG.markdown
--- old/semigroupoids-6.0.1/CHANGELOG.markdown 2001-09-09 03:46:40.000000000
+0200
+++ new/semigroupoids-6.0.2/CHANGELOG.markdown 2001-09-09 03:46:40.000000000
+0200
@@ -1,3 +1,8 @@
+6.0.2 [2026.01.10]
+------------------
+* Add `Apply` and `Bind` instances for strict and lazy `ST`.
+* Remove unused `distributive` dependency.
+
6.0.1 [2024.05.04]
------------------
* Fix a build error when compiling with `-f-contravariant`.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/semigroupoids-6.0.1/semigroupoids.cabal
new/semigroupoids-6.0.2/semigroupoids.cabal
--- old/semigroupoids-6.0.1/semigroupoids.cabal 2001-09-09 03:46:40.000000000
+0200
+++ new/semigroupoids-6.0.2/semigroupoids.cabal 2001-09-09 03:46:40.000000000
+0200
@@ -1,7 +1,7 @@
cabal-version: 1.24
name: semigroupoids
category: Control, Comonads
-version: 6.0.1
+version: 6.0.2
license: BSD2
license-file: LICENSE
author: Edward A. Kmett
@@ -17,9 +17,13 @@
, GHC == 8.8.4
, GHC == 8.10.7
, GHC == 9.0.2
- , GHC == 9.2.7
- , GHC == 9.4.4
- , GHC == 9.6.1
+ , GHC == 9.2.8
+ , GHC == 9.4.8
+ , GHC == 9.6.7
+ , GHC == 9.8.4
+ , GHC == 9.10.3
+ , GHC == 9.12.2
+ , GHC == 9.14.1
build-type: Simple
synopsis: Semigroupoids: Category sans id
extra-source-files:
@@ -64,7 +68,7 @@
source-repository head
type: git
- location: git://github.com/ekmett/semigroupoids.git
+ location: https://github.com/ekmett/semigroupoids.git
flag containers
description:
@@ -85,17 +89,6 @@
default: True
manual: True
-flag distributive
- description:
- You can disable the use of the `distributive` package using
`-f-distributive`.
- .
- Disabling this is an unsupported configuration, but it may be useful for
accelerating builds in sandboxes for expert users.
- .
- If disabled we will not supply instances of `Distributive`
- .
- default: True
- manual: True
-
flag comonad
description:
You can disable the use of the `comonad` package using `-f-comonad`.
@@ -143,14 +136,11 @@
build-depends: containers >= 0.6.7
if flag(containers)
- build-depends: containers >= 0.5.7.1 && < 0.8
+ build-depends: containers >= 0.5.7.1 && < 0.9
if flag(contravariant)
build-depends: contravariant >= 1.5.3 && < 2
- if flag(distributive)
- build-depends: distributive >= 0.5.2 && < 1
-
if flag(comonad)
build-depends: comonad >= 5.0.8 && < 6
@@ -158,7 +148,7 @@
build-depends: tagged >= 0.8.7 && < 1
if flag(unordered-containers)
- build-depends: hashable >= 1.2.7.0 && < 1.5,
+ build-depends: hashable >= 1.2.7.0 && < 1.6,
unordered-containers >= 0.2.8.0 && < 0.3
hs-source-dirs: src
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/semigroupoids-6.0.1/src/Data/Functor/Bind/Class.hs
new/semigroupoids-6.0.2/src/Data/Functor/Bind/Class.hs
--- old/semigroupoids-6.0.1/src/Data/Functor/Bind/Class.hs 2001-09-09
03:46:40.000000000 +0200
+++ new/semigroupoids-6.0.2/src/Data/Functor/Bind/Class.hs 2001-09-09
03:46:40.000000000 +0200
@@ -44,6 +44,8 @@
import Control.Arrow
import Control.Category
import Control.Monad (ap)
+import Control.Monad.ST
+import qualified Control.Monad.ST.Lazy as Lazy
import Control.Monad.Trans.Cont
import Control.Monad.Trans.Except
import Control.Monad.Trans.Identity
@@ -342,6 +344,17 @@
Lazy.WriterT f <.> Lazy.WriterT a = Lazy.WriterT $ flap <$> f <.> a where
flap ~(x,m) ~(y,n) = (x y, m <> n)
+instance Apply (ST s) where
+ (<.>) = (<*>)
+ (<.) = (<*)
+ (.>) = (*>)
+
+instance Apply (Lazy.ST s) where
+ (<.>) = (<*>)
+ (<.) = (<*)
+ (.>) = (*>)
+
+
#if MIN_VERSION_transformers(0,5,6)
-- | @since 5.3.6
instance (Bind m) => Apply (CPS.WriterT w m) where
@@ -574,6 +587,12 @@
instance Bind IO where
(>>-) = (>>=)
+instance Bind (ST s) where
+ (>>-) = (>>=)
+
+instance Bind (Lazy.ST s) where
+ (>>-) = (>>=)
+
instance Bind Maybe where
(>>-) = (>>=)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/semigroupoids-6.0.1/src/Data/Semigroup/Foldable.hs
new/semigroupoids-6.0.2/src/Data/Semigroup/Foldable.hs
--- old/semigroupoids-6.0.1/src/Data/Semigroup/Foldable.hs 2001-09-09
03:46:40.000000000 +0200
+++ new/semigroupoids-6.0.2/src/Data/Semigroup/Foldable.hs 2001-09-09
03:46:40.000000000 +0200
@@ -107,7 +107,7 @@
-- | Generic 'fold1'. Caveats:
--
-- 1. Will not compile if @t@ is an empty constructor.
--- 2. Will not compile if @t@ has some fields that don't mention @a@, for
exmaple @data Bar a = MkBar a Int@
+-- 2. Will not compile if @t@ has some fields that don't mention @a@, for
example @data Bar a = MkBar a Int@
--
-- @since 5.3.8
gfold1 :: (Foldable1 (Rep1 t), Generic1 t, Semigroup m) => t m -> m
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/semigroupoids-6.0.1/src/Data/Semigroup/Traversable.hs
new/semigroupoids-6.0.2/src/Data/Semigroup/Traversable.hs
--- old/semigroupoids-6.0.1/src/Data/Semigroup/Traversable.hs 2001-09-09
03:46:40.000000000 +0200
+++ new/semigroupoids-6.0.2/src/Data/Semigroup/Traversable.hs 2001-09-09
03:46:40.000000000 +0200
@@ -37,7 +37,7 @@
-- | Generic 'traverse1'. Caveats:
--
-- 1. Will not compile if @t@ is an empty constructor.
--- 2. Will not compile if @t@ has some fields that don't mention @a@, for
exmaple @data Bar a = MkBar a Int@
+-- 2. Will not compile if @t@ has some fields that don't mention @a@, for
example @data Bar a = MkBar a Int@
--
-- @since 5.3.8
gtraverse1 ::
++++++ semigroupoids.cabal ++++++
--- /var/tmp/diff_new_pack.1CHDXI/_old 2026-06-10 16:09:33.997528413 +0200
+++ /var/tmp/diff_new_pack.1CHDXI/_new 2026-06-10 16:09:34.001528579 +0200
@@ -1,8 +1,8 @@
cabal-version: 1.24
name: semigroupoids
category: Control, Comonads
-version: 6.0.1
-x-revision: 2
+version: 6.0.2
+x-revision: 1
license: BSD2
license-file: LICENSE
author: Edward A. Kmett
@@ -18,9 +18,13 @@
, GHC == 8.8.4
, GHC == 8.10.7
, GHC == 9.0.2
- , GHC == 9.2.7
- , GHC == 9.4.4
- , GHC == 9.6.1
+ , GHC == 9.2.8
+ , GHC == 9.4.8
+ , GHC == 9.6.7
+ , GHC == 9.8.4
+ , GHC == 9.10.3
+ , GHC == 9.12.2
+ , GHC == 9.14.1
build-type: Simple
synopsis: Semigroupoids: Category sans id
extra-source-files:
@@ -65,7 +69,7 @@
source-repository head
type: git
- location: git://github.com/ekmett/semigroupoids.git
+ location: https://github.com/ekmett/semigroupoids.git
flag containers
description:
@@ -86,17 +90,6 @@
default: True
manual: True
-flag distributive
- description:
- You can disable the use of the `distributive` package using
`-f-distributive`.
- .
- Disabling this is an unsupported configuration, but it may be useful for
accelerating builds in sandboxes for expert users.
- .
- If disabled we will not supply instances of `Distributive`
- .
- default: True
- manual: True
-
flag comonad
description:
You can disable the use of the `comonad` package using `-f-comonad`.
@@ -131,7 +124,7 @@
bifunctors >= 5.6 && < 6,
template-haskell >= 0.2.11,
transformers >= 0.5 && < 0.7,
- transformers-compat >= 0.6 && < 0.8
+ transformers-compat >= 0.6 && < 0.9
if !impl(ghc >= 9.6)
build-depends: foldable1-classes-compat >= 0.1 && < 0.2
@@ -149,9 +142,6 @@
if flag(contravariant)
build-depends: contravariant >= 1.5.3 && < 2
- if flag(distributive)
- build-depends: distributive >= 0.5.2 && < 1
-
if flag(comonad)
build-depends: comonad >= 5.0.8 && < 6