Hello community,
here is the log from the commit of package ghc-safe-exceptions for
openSUSE:Factory checked in at 2017-07-27 11:12:06
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/ghc-safe-exceptions (Old)
and /work/SRC/openSUSE:Factory/.ghc-safe-exceptions.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "ghc-safe-exceptions"
Thu Jul 27 11:12:06 2017 rev:3 rq:511517 version:0.1.6.0
Changes:
--------
--- /work/SRC/openSUSE:Factory/ghc-safe-exceptions/ghc-safe-exceptions.changes
2017-07-05 23:59:37.382219634 +0200
+++
/work/SRC/openSUSE:Factory/.ghc-safe-exceptions.new/ghc-safe-exceptions.changes
2017-07-27 11:12:08.098397257 +0200
@@ -1,0 +2,5 @@
+Tue Jul 11 03:02:26 UTC 2017 - [email protected]
+
+- Update to version 0.1.6.0.
+
+-------------------------------------------------------------------
Old:
----
safe-exceptions-0.1.5.0.tar.gz
safe-exceptions.cabal
New:
----
safe-exceptions-0.1.6.0.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ ghc-safe-exceptions.spec ++++++
--- /var/tmp/diff_new_pack.RIfPyr/_old 2017-07-27 11:12:08.886285963 +0200
+++ /var/tmp/diff_new_pack.RIfPyr/_new 2017-07-27 11:12:08.886285963 +0200
@@ -19,14 +19,13 @@
%global pkg_name safe-exceptions
%bcond_with tests
Name: ghc-%{pkg_name}
-Version: 0.1.5.0
+Version: 0.1.6.0
Release: 0
Summary: Safe, consistent, and easy exception handling
License: MIT
Group: Development/Languages/Other
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/1.cabal#/%{pkg_name}.cabal
BuildRequires: ghc-Cabal-devel
BuildRequires: ghc-deepseq-devel
BuildRequires: ghc-exceptions-devel
@@ -55,7 +54,6 @@
%prep
%setup -q -n %{pkg_name}-%{version}
-cp -p %{SOURCE1} %{pkg_name}.cabal
%build
%ghc_lib_build
++++++ safe-exceptions-0.1.5.0.tar.gz -> safe-exceptions-0.1.6.0.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/safe-exceptions-0.1.5.0/ChangeLog.md
new/safe-exceptions-0.1.6.0/ChangeLog.md
--- old/safe-exceptions-0.1.5.0/ChangeLog.md 2017-03-07 12:48:06.000000000
+0100
+++ new/safe-exceptions-0.1.6.0/ChangeLog.md 2017-07-03 11:26:49.000000000
+0200
@@ -1,3 +1,7 @@
+## 0.1.6.0
+
+* Reuse the `Handler` definition from `Control.Monad.Catch`
+
## 0.1.5.0
* Re-export `Control.Exception.assert`
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/safe-exceptions-0.1.5.0/README.md
new/safe-exceptions-0.1.6.0/README.md
--- old/safe-exceptions-0.1.5.0/README.md 2017-03-05 16:58:18.000000000
+0100
+++ new/safe-exceptions-0.1.6.0/README.md 2017-07-03 11:26:49.000000000
+0200
@@ -2,7 +2,9 @@
*Safe, consistent, and easy exception handling*
-[](https://travis-ci.org/fpco/safe-exceptions)
+[](https://travis-ci.org/fpco/safe-exceptions)
[](http://stackage.org/lts/package/safe-exceptions)
+
+> The documentation for this library is available on
[Stackage](http://stackage.org/lts/package/safe-exceptions)
Runtime exceptions - as exposed in `base` by the `Control.Exception`
module - have long been an intimidating part of the Haskell
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/safe-exceptions-0.1.5.0/safe-exceptions.cabal
new/safe-exceptions-0.1.6.0/safe-exceptions.cabal
--- old/safe-exceptions-0.1.5.0/safe-exceptions.cabal 2017-03-06
17:39:36.000000000 +0100
+++ new/safe-exceptions-0.1.6.0/safe-exceptions.cabal 2017-07-03
11:26:49.000000000 +0200
@@ -1,5 +1,5 @@
name: safe-exceptions
-version: 0.1.5.0
+version: 0.1.6.0
synopsis: Safe, consistent, and easy exception handling
description: Please see README.md
homepage: https://github.com/fpco/safe-exceptions#readme
@@ -16,7 +16,7 @@
library
hs-source-dirs: src
exposed-modules: Control.Exception.Safe
- build-depends: base >= 4.7 && < 4.10
+ build-depends: base >= 4.7 && < 4.11
, deepseq >= 1.2 && < 1.5
, exceptions >= 0.8 && < 0.9
, transformers >= 0.2 && < 0.6
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/safe-exceptions-0.1.5.0/src/Control/Exception/Safe.hs
new/safe-exceptions-0.1.6.0/src/Control/Exception/Safe.hs
--- old/safe-exceptions-0.1.5.0/src/Control/Exception/Safe.hs 2017-03-07
12:48:06.000000000 +0100
+++ new/safe-exceptions-0.1.6.0/src/Control/Exception/Safe.hs 2017-07-03
11:26:49.000000000 +0200
@@ -91,6 +91,7 @@
import Control.Exception (Exception (..), SomeException (..),
SomeAsyncException (..))
import qualified Control.Exception as E
import qualified Control.Monad.Catch as C
+import Control.Monad.Catch (Handler (..))
import Control.Monad (liftM)
import Control.Monad.IO.Class (MonadIO, liftIO)
import Data.Typeable (Typeable, cast)
@@ -431,7 +432,8 @@
C.throwM e1
Right y -> return y
--- | Async safe version of 'E.bracketOnError_'
+-- | A variant of 'bracketOnError' where the return value from the first
+-- computation is not required.
--
-- @since 0.1.0.0
bracketOnError_ :: C.MonadMask m => m a -> m b -> m c -> m c
@@ -527,9 +529,6 @@
displayException = show
#endif
--- | You need this when using 'catches'.
-data Handler m a = forall e . (Exception e) => Handler (e -> m a)
-
-- | Same as upstream 'C.catches', but will not catch asynchronous
-- exceptions
--