Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package ghc-concurrency for openSUSE:Factory
checked in at 2021-03-24 16:11:56
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/ghc-concurrency (Old)
and /work/SRC/openSUSE:Factory/.ghc-concurrency.new.2401 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "ghc-concurrency"
Wed Mar 24 16:11:56 2021 rev:3 rq:880425 version:1.11.0.1
Changes:
--------
--- /work/SRC/openSUSE:Factory/ghc-concurrency/ghc-concurrency.changes
2020-12-22 11:37:42.821394707 +0100
+++
/work/SRC/openSUSE:Factory/.ghc-concurrency.new.2401/ghc-concurrency.changes
2021-03-24 16:11:57.539876476 +0100
@@ -1,0 +2,16 @@
+Sun Mar 14 22:46:38 UTC 2021 - [email protected]
+
+- Update concurrency to version 1.11.0.1.
+ 1.11.0.1 (2021-03-14)
+ ---------------------
+
+ * Git: :tag:`concurrency-1.11.0.1`
+ * Hackage: :hackage:`concurrency-1.11.0.1`
+
+ Fixed
+ ~~~~~
+
+ * (:issue:`334`) Compilation error under GHC 9 due to use of
+ ``const``.
+
+-------------------------------------------------------------------
Old:
----
concurrency-1.11.0.0.tar.gz
New:
----
concurrency-1.11.0.1.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ ghc-concurrency.spec ++++++
--- /var/tmp/diff_new_pack.pP009x/_old 2021-03-24 16:11:58.067877030 +0100
+++ /var/tmp/diff_new_pack.pP009x/_new 2021-03-24 16:11:58.067877030 +0100
@@ -1,7 +1,7 @@
#
# spec file for package ghc-concurrency
#
-# Copyright (c) 2020 SUSE LLC
+# Copyright (c) 2021 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -18,7 +18,7 @@
%global pkg_name concurrency
Name: ghc-%{pkg_name}
-Version: 1.11.0.0
+Version: 1.11.0.1
Release: 0
Summary: Typeclasses, functions, and data types for concurrency and STM
License: MIT
++++++ concurrency-1.11.0.0.tar.gz -> concurrency-1.11.0.1.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/concurrency-1.11.0.0/CHANGELOG.rst
new/concurrency-1.11.0.1/CHANGELOG.rst
--- old/concurrency-1.11.0.0/CHANGELOG.rst 2020-05-14 15:51:46.000000000
+0200
+++ new/concurrency-1.11.0.1/CHANGELOG.rst 2021-03-14 12:39:15.000000000
+0100
@@ -6,6 +6,19 @@
.. _PVP: https://pvp.haskell.org/
+1.11.0.1 (2021-03-14)
+---------------------
+
+* Git: :tag:`concurrency-1.11.0.1`
+* Hackage: :hackage:`concurrency-1.11.0.1`
+
+Fixed
+~~~~~
+
+* (:issue:`334`) Compilation error under GHC 9 due to use of
+ ``const``.
+
+
1.11.0.0 (2020-05-14)
--------------------
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/concurrency-1.11.0.0/Control/Monad/Conc/Class.hs
new/concurrency-1.11.0.1/Control/Monad/Conc/Class.hs
--- old/concurrency-1.11.0.0/Control/Monad/Conc/Class.hs 2020-05-14
15:51:46.000000000 +0200
+++ new/concurrency-1.11.0.1/Control/Monad/Conc/Class.hs 2021-03-14
12:39:15.000000000 +0100
@@ -9,7 +9,7 @@
-- |
-- Module : Control.Monad.Conc.Class
--- Copyright : (c) 2016--2020 Michael Walker
+-- Copyright : (c) 2016--2021 Michael Walker
-- License : MIT
-- Maintainer : Michael Walker <[email protected]>
-- Stability : experimental
@@ -101,6 +101,7 @@
import Control.Monad.STM.Class (IsSTM, MonadSTM, TVar,
fromIsSTM,
newTVar, readTVar)
import Control.Monad.Trans.Control (MonadTransControl, StT,
liftWith)
+import Data.Kind (Type)
import Data.Proxy (Proxy(..))
-- for the 'IO' instance
@@ -195,7 +196,7 @@
-- | The associated 'MonadSTM' for this class.
--
-- @since 1.0.0.0
- type STM m :: * -> *
+ type STM m :: Type -> Type
-- | The mutable reference type, like 'MVar's. This may contain one
-- value at a time, attempting to read or take from an \"empty\"
@@ -203,26 +204,26 @@
-- \"full\" @MVar@ will block until it is empty.
--
-- @since 1.0.0.0
- type MVar m :: * -> *
+ type MVar m :: Type -> Type
-- | The mutable non-blocking reference type. These may suffer from
-- relaxed memory effects if functions outside the set @newIORef@,
-- @readIORef@, @atomicModifyIORef@, and @atomicWriteIORef@ are used.
--
-- @since 1.6.0.0
- type IORef m :: * -> *
+ type IORef m :: Type -> Type
-- | When performing compare-and-swap operations on @IORef@s, a
-- @Ticket@ is a proof that a thread observed a specific previous
-- value.
--
-- @since 1.0.0.0
- type Ticket m :: * -> *
+ type Ticket m :: Type -> Type
-- | An abstract handle to a thread.
--
-- @since 1.0.0.0
- type ThreadId m :: *
+ type ThreadId m :: Type
-- | Like 'fork', but the child thread is passed a function that can
-- be used to unmask asynchronous exceptions. This function should
@@ -522,7 +523,7 @@
--
-- @since 1.5.0.0
fork :: MonadConc m => m () -> m (ThreadId m)
-fork ma = forkWithUnmask (const ma)
+fork ma = forkWithUnmask (\_ -> ma)
-- | Fork a computation to happen on a specific processor. The
-- specified int is the /capability number/, typically capabilities
@@ -532,7 +533,7 @@
--
-- @since 1.5.0.0
forkOn :: MonadConc m => Int -> m () -> m (ThreadId m)
-forkOn c ma = forkOnWithUnmask c (const ma)
+forkOn c ma = forkOnWithUnmask c (\_ -> ma)
-- | Fork a computation to happen in a /bound thread/, which is
-- necessary if you need to call foreign (non-Haskell) libraries
@@ -540,7 +541,7 @@
--
-- @since 1.5.0.0
forkOS :: MonadConc m => m () -> m (ThreadId m)
-forkOS ma = forkOSWithUnmask (const ma)
+forkOS ma = forkOSWithUnmask (\_ -> ma)
-- | Fork a thread and call the supplied function when the thread is
-- about to terminate, with an exception or a returned value. The
@@ -578,21 +579,21 @@
--
-- @since 1.0.0.0
forkN :: MonadConc m => String -> m () -> m (ThreadId m)
-forkN name ma = forkWithUnmaskN name (const ma)
+forkN name ma = forkWithUnmaskN name (\_ -> ma)
-- | Like 'forkOn', but the thread is given a name which may be used
-- to present more useful debugging information.
--
-- @since 1.0.0.0
forkOnN :: MonadConc m => String -> Int -> m () -> m (ThreadId m)
-forkOnN name i ma = forkOnWithUnmaskN name i (const ma)
+forkOnN name i ma = forkOnWithUnmaskN name i (\_ -> ma)
-- | Like 'forkOS', but the thread is given a name which may be used
-- to present more useful debugging information.
--
-- @since 1.5.0.0
forkOSN :: MonadConc m => String -> m () -> m (ThreadId m)
-forkOSN name ma = forkOSWithUnmaskN name (const ma)
+forkOSN name ma = forkOSWithUnmaskN name (\_ -> ma)
-- | 'True' if bound threads are supported. If
-- 'rtsSupportsBoundThreads' is 'False', 'isCurrentThreadBound' will
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/concurrency-1.11.0.0/Control/Monad/STM/Class.hs
new/concurrency-1.11.0.1/Control/Monad/STM/Class.hs
--- old/concurrency-1.11.0.0/Control/Monad/STM/Class.hs 2020-05-14
15:51:46.000000000 +0200
+++ new/concurrency-1.11.0.1/Control/Monad/STM/Class.hs 2021-03-14
12:39:15.000000000 +0100
@@ -6,7 +6,7 @@
-- |
-- Module : Control.Monad.STM.Class
--- Copyright : (c) 2016--2017 Michael Walker
+-- Copyright : (c) 2016--2021 Michael Walker
-- License : MIT
-- Maintainer : Michael Walker <[email protected]>
-- Stability : experimental
@@ -65,6 +65,7 @@
import Control.Monad.Reader (ReaderT)
import Control.Monad.Trans (lift)
import Control.Monad.Trans.Identity (IdentityT)
+import Data.Kind (Type)
import qualified Control.Concurrent.STM as STM
import qualified Control.Monad.Catch as Ca
@@ -94,7 +95,7 @@
-- synchronised.
--
-- @since 1.0.0.0
- type TVar stm :: * -> *
+ type TVar stm :: Type -> Type
-- | Create a new @TVar@ containing the given value.
--
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/concurrency-1.11.0.0/concurrency.cabal
new/concurrency-1.11.0.1/concurrency.cabal
--- old/concurrency-1.11.0.0/concurrency.cabal 2020-05-14 15:51:46.000000000
+0200
+++ new/concurrency-1.11.0.1/concurrency.cabal 2021-03-14 12:39:15.000000000
+0100
@@ -2,7 +2,7 @@
-- documentation, see http://haskell.org/cabal/users-guide/
name: concurrency
-version: 1.11.0.0
+version: 1.11.0.1
synopsis: Typeclasses, functions, and data types for concurrency
and STM.
description:
@@ -32,7 +32,7 @@
source-repository this
type: git
location: https://github.com/barrucadu/dejafu.git
- tag: concurrency-1.11.0.0
+ tag: concurrency-1.11.0.1
library
exposed-modules: Control.Monad.Conc.Class