Hello community,
here is the log from the commit of package ghc-extensible-effects for
openSUSE:Factory checked in at 2017-07-23 12:14:22
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/ghc-extensible-effects (Old)
and /work/SRC/openSUSE:Factory/.ghc-extensible-effects.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "ghc-extensible-effects"
Sun Jul 23 12:14:22 2017 rev:2 rq:511911 version:1.11.1.0
Changes:
--------
---
/work/SRC/openSUSE:Factory/ghc-extensible-effects/ghc-extensible-effects.changes
2017-01-19 10:42:32.556147915 +0100
+++
/work/SRC/openSUSE:Factory/.ghc-extensible-effects.new/ghc-extensible-effects.changes
2017-07-23 12:14:23.883760018 +0200
@@ -1,0 +2,5 @@
+Mon Jul 17 03:01:33 UTC 2017 - [email protected]
+
+- Update to version 1.11.1.0.
+
+-------------------------------------------------------------------
Old:
----
extensible-effects-1.11.0.4.tar.gz
New:
----
extensible-effects-1.11.1.0.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ ghc-extensible-effects.spec ++++++
--- /var/tmp/diff_new_pack.AaBVYV/_old 2017-07-23 12:14:24.395687704 +0200
+++ /var/tmp/diff_new_pack.AaBVYV/_new 2017-07-23 12:14:24.399687139 +0200
@@ -1,7 +1,7 @@
#
# spec file for package ghc-extensible-effects
#
-# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -19,16 +19,15 @@
%global pkg_name extensible-effects
%bcond_with tests
Name: ghc-%{pkg_name}
-Version: 1.11.0.4
+Version: 1.11.1.0
Release: 0
Summary: An Alternative to Monad Transformers
License: MIT
-Group: System/Libraries
+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
BuildRequires: ghc-Cabal-devel
BuildRequires: ghc-rpm-macros
-# Begin cabal-rpm deps:
BuildRequires: ghc-transformers-base-devel
BuildRequires: ghc-transformers-devel
BuildRequires: ghc-type-aligned-devel
@@ -42,7 +41,6 @@
BuildRequires: ghc-test-framework-quickcheck2-devel
BuildRequires: ghc-test-framework-th-devel
%endif
-# End cabal-rpm deps
%description
This package introduces datatypes for typeclass-constrained effects, as an
@@ -65,20 +63,14 @@
%prep
%setup -q -n %{pkg_name}-%{version}
-
%build
%ghc_lib_build
-
%install
%ghc_lib_install
-
%check
-%if %{with tests}
-%{cabal} test
-%endif
-
+%cabal_test
%post devel
%ghc_pkg_recache
++++++ extensible-effects-1.11.0.4.tar.gz -> extensible-effects-1.11.1.0.tar.gz
++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/extensible-effects-1.11.0.4/README.md
new/extensible-effects-1.11.1.0/README.md
--- old/extensible-effects-1.11.0.4/README.md 2016-05-27 04:17:26.000000000
+0200
+++ new/extensible-effects-1.11.1.0/README.md 2017-07-11 05:15:11.000000000
+0200
@@ -4,6 +4,8 @@
[](https://travis-ci.org/suhailshergill/extensible-effects)
[](https://gitter.im/suhailshergill/extensible-effects?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge)
+[](http://waffle.io/suhailshergill/extensible-effects)
+[](http://waffle.io/suhailshergill/extensible-effects)
## Advantages
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/extensible-effects-1.11.0.4/extensible-effects.cabal
new/extensible-effects-1.11.1.0/extensible-effects.cabal
--- old/extensible-effects-1.11.0.4/extensible-effects.cabal 2016-05-27
04:17:26.000000000 +0200
+++ new/extensible-effects-1.11.1.0/extensible-effects.cabal 2017-07-11
05:15:11.000000000 +0200
@@ -6,7 +6,7 @@
-- PVP summary: +-+------- breaking API changes
-- | | +----- non-breaking API additions
-- | | | +--- code changes with no API change
-version: 1.11.0.4
+version: 1.11.1.0
-- A short (one-line) description of the package.
synopsis: An Alternative to Monad Transformers
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/extensible-effects-1.11.0.4/src/Control/Eff/Exception.hs
new/extensible-effects-1.11.1.0/src/Control/Eff/Exception.hs
--- old/extensible-effects-1.11.0.4/src/Control/Eff/Exception.hs
2016-05-27 04:17:25.000000000 +0200
+++ new/extensible-effects-1.11.1.0/src/Control/Eff/Exception.hs
2017-07-11 05:15:11.000000000 +0200
@@ -17,6 +17,7 @@
, liftEither
, liftEitherM
, liftMaybe
+ , liftMaybeM
, ignoreFail
) where
@@ -106,6 +107,13 @@
liftMaybe = maybe die return
{-# INLINE liftMaybe #-}
+-- | `liftMaybe` in a lifted Monad
+liftMaybeM :: (Typeable1 m, Member Fail r, SetMember Lift (Lift m) r)
+ => m (Maybe a)
+ -> Eff r a
+liftMaybeM m = lift m >>= liftMaybe
+{-# INLINE liftMaybeM #-}
+
-- | Ignores a failure event. Since the event can fail, you cannot inspect its
-- return type, because it has none on failure. To inspect it, use 'runFail'.
ignoreFail :: Eff (Fail :> r) a