Hello community, here is the log from the commit of package ghc-free for openSUSE:Factory checked in at 2019-08-29 17:21:13 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/ghc-free (Old) and /work/SRC/openSUSE:Factory/.ghc-free.new.7948 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "ghc-free" Thu Aug 29 17:21:13 2019 rev:10 rq:726810 version:5.1.2 Changes: -------- --- /work/SRC/openSUSE:Factory/ghc-free/ghc-free.changes 2019-05-12 11:35:25.226225027 +0200 +++ /work/SRC/openSUSE:Factory/.ghc-free.new.7948/ghc-free.changes 2019-08-29 17:21:15.079330139 +0200 @@ -1,0 +2,9 @@ +Wed Aug 28 02:02:43 UTC 2019 - [email protected] + +- Update free to version 5.1.2. + 5.1.2 [2019.08.27] + ------------------ + * Implement more performant versions of `some` and `many` in the `Alternative` + instance for the final `Alt` encoding. + +------------------------------------------------------------------- Old: ---- free-5.1.1.tar.gz New: ---- free-5.1.2.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ ghc-free.spec ++++++ --- /var/tmp/diff_new_pack.S5r14W/_old 2019-08-29 17:21:15.663330041 +0200 +++ /var/tmp/diff_new_pack.S5r14W/_new 2019-08-29 17:21:15.663330041 +0200 @@ -18,7 +18,7 @@ %global pkg_name free Name: ghc-%{pkg_name} -Version: 5.1.1 +Version: 5.1.2 Release: 0 Summary: Monads for free License: BSD-3-Clause ++++++ free-5.1.1.tar.gz -> free-5.1.2.tar.gz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/free-5.1.1/CHANGELOG.markdown new/free-5.1.2/CHANGELOG.markdown --- old/free-5.1.1/CHANGELOG.markdown 2001-09-09 03:46:40.000000000 +0200 +++ new/free-5.1.2/CHANGELOG.markdown 2001-09-09 03:46:40.000000000 +0200 @@ -1,3 +1,8 @@ +5.1.2 [2019.08.27] +------------------ +* Implement more performant versions of `some` and `many` in the `Alternative` + instance for the final `Alt` encoding. + 5.1.1 [2019.05.02] ------------------ * Allow building with `base-4.13` (GHC 8.8). diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/free-5.1.1/free.cabal new/free-5.1.2/free.cabal --- old/free-5.1.1/free.cabal 2001-09-09 03:46:40.000000000 +0200 +++ new/free-5.1.2/free.cabal 2001-09-09 03:46:40.000000000 +0200 @@ -1,6 +1,6 @@ name: free category: Control, Monads -version: 5.1.1 +version: 5.1.2 license: BSD3 cabal-version: 1.18 license-file: LICENSE diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/free-5.1.1/src/Control/Alternative/Free/Final.hs new/free-5.1.2/src/Control/Alternative/Free/Final.hs --- old/free-5.1.1/src/Control/Alternative/Free/Final.hs 2001-09-09 03:46:40.000000000 +0200 +++ new/free-5.1.2/src/Control/Alternative/Free/Final.hs 2001-09-09 03:46:40.000000000 +0200 @@ -48,6 +48,8 @@ instance Alternative (Alt f) where empty = Alt (\_ -> empty) Alt x <|> Alt y = Alt (\k -> x k <|> y k) + some (Alt x) = Alt $ \k -> some (x k) + many (Alt x) = Alt $ \k -> many (x k) instance Semigroup (Alt f a) where (<>) = (<|>)
