Hello community, here is the log from the commit of package ghc-unfoldable for openSUSE:Factory checked in at 2017-06-22 10:39:25 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/ghc-unfoldable (Old) and /work/SRC/openSUSE:Factory/.ghc-unfoldable.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "ghc-unfoldable" Thu Jun 22 10:39:25 2017 rev:2 rq:504115 version:0.9.3 Changes: -------- --- /work/SRC/openSUSE:Factory/ghc-unfoldable/ghc-unfoldable.changes 2017-04-14 13:33:36.086324082 +0200 +++ /work/SRC/openSUSE:Factory/.ghc-unfoldable.new/ghc-unfoldable.changes 2017-06-22 10:39:27.005598995 +0200 @@ -1,0 +2,5 @@ +Wed May 31 14:05:44 UTC 2017 - psim...@suse.com + +- Update to version 0.9.3. + +------------------------------------------------------------------- Old: ---- unfoldable-0.9.2.tar.gz unfoldable.cabal New: ---- unfoldable-0.9.3.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ ghc-unfoldable.spec ++++++ --- /var/tmp/diff_new_pack.5VlfIS/_old 2017-06-22 10:39:27.649508213 +0200 +++ /var/tmp/diff_new_pack.5VlfIS/_new 2017-06-22 10:39:27.653507649 +0200 @@ -18,14 +18,13 @@ %global pkg_name unfoldable Name: ghc-%{pkg_name} -Version: 0.9.2 +Version: 0.9.3 Release: 0 Summary: Class of data structures that can be unfolded License: BSD-3-Clause 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-QuickCheck-devel BuildRequires: ghc-containers-devel @@ -61,7 +60,6 @@ %prep %setup -q -n %{pkg_name}-%{version} -cp -p %{SOURCE1} %{pkg_name}.cabal %build %ghc_lib_build ++++++ unfoldable-0.9.2.tar.gz -> unfoldable-0.9.3.tar.gz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/unfoldable-0.9.2/CHANGELOG.md new/unfoldable-0.9.3/CHANGELOG.md --- old/unfoldable-0.9.2/CHANGELOG.md 2017-01-23 22:58:44.000000000 +0100 +++ new/unfoldable-0.9.3/CHANGELOG.md 2017-05-21 11:52:37.000000000 +0200 @@ -1,3 +1,11 @@ +0.9.3 +----- +* updated to `one-liner` 0.9 + +0.9.2 +----- +* use one-liner for the generic implementation of `unfold` + 0.9.1 ----- * added `Nth` unfolder diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/unfoldable-0.9.2/src/Data/Unfoldable.hs new/unfoldable-0.9.3/src/Data/Unfoldable.hs --- old/unfoldable-0.9.2/src/Data/Unfoldable.hs 2017-01-23 22:58:44.000000000 +0100 +++ new/unfoldable-0.9.3/src/Data/Unfoldable.hs 2017-05-21 11:52:37.000000000 +0200 @@ -12,7 +12,7 @@ ----------------------------------------------------------------------------- {-# LANGUAGE CPP, Safe, TupleSections #-} #ifdef GENERICS -{-# LANGUAGE TypeOperators, DefaultSignatures, FlexibleContexts #-} +{-# LANGUAGE TypeOperators, DefaultSignatures, FlexibleContexts, TypeApplications #-} #endif module Data.Unfoldable ( @@ -93,7 +93,7 @@ #ifdef GENERICS default unfold :: (ADT1 t, Constraints1 t Unfoldable, Unfolder f) => f a -> f (t a) - unfold = choose . getCompose . createA1 (For :: For Unfoldable) (Compose . return . unfold . foldr (<|>) empty . getCompose) . Compose . return + unfold = choose . getCompose . createA1 @Unfoldable (Compose . return . unfold . foldr (<|>) empty . getCompose) . Compose . return #endif -- | Unfold the structure, always using @()@ as elements. diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/unfoldable-0.9.2/unfoldable.cabal new/unfoldable-0.9.3/unfoldable.cabal --- old/unfoldable-0.9.2/unfoldable.cabal 2017-01-23 22:58:44.000000000 +0100 +++ new/unfoldable-0.9.3/unfoldable.cabal 2017-05-21 11:52:37.000000000 +0200 @@ -1,5 +1,5 @@ Name: unfoldable -Version: 0.9.2 +Version: 0.9.3 Synopsis: Class of data structures that can be unfolded. Description: Just as there's a Foldable class, there should also be an Unfoldable class. . @@ -46,7 +46,7 @@ cpp-options: -DGENERICS build-depends: ghc-prim >= 0.2 - , one-liner >= 0.7 && < 0.8 + , one-liner >= 0.9 && < 0.10 Other-extensions: GeneralizedNewtypeDeriving