Hello community, here is the log from the commit of package ghc-either for openSUSE:Factory checked in at 2016-05-17 17:14:35 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/ghc-either (Old) and /work/SRC/openSUSE:Factory/.ghc-either.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "ghc-either" Changes: -------- --- /work/SRC/openSUSE:Factory/ghc-either/ghc-either.changes 2015-08-27 08:55:28.000000000 +0200 +++ /work/SRC/openSUSE:Factory/.ghc-either.new/ghc-either.changes 2016-05-17 17:14:36.000000000 +0200 @@ -1,0 +2,7 @@ +Wed May 11 15:13:10 UTC 2016 - mimi...@gmail.com + +- update to 4.4.1.1 +* Fixed building on newer GHCs. (type synonyms require explicit foralls for unused + variables these days) + +------------------------------------------------------------------- Old: ---- either-4.4.1.tar.gz New: ---- either-4.4.1.1.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ ghc-either.spec ++++++ --- /var/tmp/diff_new_pack.WnbfFv/_old 2016-05-17 17:14:37.000000000 +0200 +++ /var/tmp/diff_new_pack.WnbfFv/_new 2016-05-17 17:14:37.000000000 +0200 @@ -19,7 +19,7 @@ %global pkg_name either Name: ghc-either -Version: 4.4.1 +Version: 4.4.1.1 Release: 0 Summary: An either monad transformer License: BSD-3-Clause ++++++ either-4.4.1.tar.gz -> either-4.4.1.1.tar.gz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/either-4.4.1/CHANGELOG.markdown new/either-4.4.1.1/CHANGELOG.markdown --- old/either-4.4.1/CHANGELOG.markdown 2015-05-29 16:10:31.000000000 +0200 +++ new/either-4.4.1.1/CHANGELOG.markdown 2016-05-10 01:31:19.000000000 +0200 @@ -1,3 +1,12 @@ +4.4.1.1 +------- +* Fixed building on newer GHCs. (type synonyms require explicit foralls for unused variables these days) + +4.4.1 +----- +* `transformers` 0.5 support +* Documentation fixes + 4.4 --- * Support `mmorph` diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/either-4.4.1/README.markdown new/either-4.4.1.1/README.markdown --- old/either-4.4.1/README.markdown 2015-05-29 16:10:31.000000000 +0200 +++ new/either-4.4.1.1/README.markdown 2016-05-10 01:31:19.000000000 +0200 @@ -1,7 +1,7 @@ either ====== -[![Build Status](https://secure.travis-ci.org/ekmett/either.png?branch=master)](http://travis-ci.org/ekmett/either) +[![Hackage](https://img.shields.io/hackage/v/either.svg)](https://hackage.haskell.org/package/either) [![Build Status](https://secure.travis-ci.org/ekmett/either.png?branch=master)](http://travis-ci.org/ekmett/either) This provides an `Either` monad transformer that unlike `ErrorT` is unencumbered by a constraint on its `Left` hand argument. This is needed for a number of applications of this monad transformer, notably in [recursion-schemes](https://github.com/ekmett/recursion-schemes). diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/either-4.4.1/either.cabal new/either-4.4.1.1/either.cabal --- old/either-4.4.1/either.cabal 2015-05-29 16:10:31.000000000 +0200 +++ new/either-4.4.1.1/either.cabal 2016-05-10 01:31:19.000000000 +0200 @@ -1,6 +1,6 @@ name: either category: Control, Monads -version: 4.4.1 +version: 4.4.1.1 license: BSD3 cabal-version: >= 1.6 license-file: LICENSE @@ -38,7 +38,7 @@ profunctors >= 4 && < 6, semigroups >= 0.8.3.1 && < 1, semigroupoids >= 4 && < 6, - transformers >= 0.2 && < 0.5, + transformers >= 0.2 && < 0.6, transformers-base >= 0.4 && < 0.5 extensions: CPP diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/either-4.4.1/src/Data/Either/Combinators.hs new/either-4.4.1.1/src/Data/Either/Combinators.hs --- old/either-4.4.1/src/Data/Either/Combinators.hs 2015-05-29 16:10:31.000000000 +0200 +++ new/either-4.4.1.1/src/Data/Either/Combinators.hs 2016-05-10 01:31:19.000000000 +0200 @@ -237,7 +237,7 @@ -- | Extract the left value or a default. -- -- @ --- 'fromLeft' ≡ 'either' 'id' +-- 'fromLeft' b ≡ 'either' 'id' ('const' b) -- @ -- -- >>> fromLeft "hello" (Right 42) @@ -252,7 +252,7 @@ -- | Extract the right value or a default. -- -- @ --- 'fromRight' b ≡ 'either' b 'id' +-- 'fromRight' b ≡ 'either' ('const' b) 'id' -- @ -- -- >>> fromRight "hello" (Right "world") diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/either-4.4.1/src/Data/Either/Validation.hs new/either-4.4.1.1/src/Data/Either/Validation.hs --- old/either-4.4.1/src/Data/Either/Validation.hs 2015-05-29 16:10:31.000000000 +0200 +++ new/either-4.4.1.1/src/Data/Either/Validation.hs 2016-05-10 01:31:19.000000000 +0200 @@ -117,7 +117,7 @@ Success y -> Right y) {-# INLINE _Success #-} -type Iso s t a b = (Profunctor p, Functor f) => p a (f b) -> p s (f t) +type Iso s t a b = forall p f. (Profunctor p, Functor f) => p a (f b) -> p s (f t) iso :: (s -> a) -> (b -> t) -> Iso s t a b iso sa bt = dimap sa (fmap bt)