Hello community,
here is the log from the commit of package ghc-parser-combinators for
openSUSE:Factory checked in at 2019-05-17 23:42:52
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/ghc-parser-combinators (Old)
and /work/SRC/openSUSE:Factory/.ghc-parser-combinators.new.5148 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "ghc-parser-combinators"
Fri May 17 23:42:52 2019 rev:5 rq:703475 version:1.0.3
Changes:
--------
---
/work/SRC/openSUSE:Factory/ghc-parser-combinators/ghc-parser-combinators.changes
2019-04-28 20:13:16.910424876 +0200
+++
/work/SRC/openSUSE:Factory/.ghc-parser-combinators.new.5148/ghc-parser-combinators.changes
2019-05-17 23:42:52.169922495 +0200
@@ -1,0 +2,11 @@
+Sat May 11 02:00:52 UTC 2019 - [email protected]
+
+- Update parser-combinators to version 1.0.3.
+ ## Parser combinators 1.0.3
+
+ * Dropped support for GHC 7.10.
+
+ * Added a test suite as a separate package called
+ `parser-combinators-tests`.
+
+-------------------------------------------------------------------
Old:
----
parser-combinators-1.0.2.tar.gz
New:
----
parser-combinators-1.0.3.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ ghc-parser-combinators.spec ++++++
--- /var/tmp/diff_new_pack.aMvxsI/_old 2019-05-17 23:42:52.961922061 +0200
+++ /var/tmp/diff_new_pack.aMvxsI/_new 2019-05-17 23:42:52.961922061 +0200
@@ -18,7 +18,7 @@
%global pkg_name parser-combinators
Name: ghc-%{pkg_name}
-Version: 1.0.2
+Version: 1.0.3
Release: 0
Summary: Lightweight package providing commonly useful parser
combinators
License: BSD-3-Clause
++++++ parser-combinators-1.0.2.tar.gz -> parser-combinators-1.0.3.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/parser-combinators-1.0.2/CHANGELOG.md
new/parser-combinators-1.0.3/CHANGELOG.md
--- old/parser-combinators-1.0.2/CHANGELOG.md 2019-04-05 21:22:07.000000000
+0200
+++ new/parser-combinators-1.0.3/CHANGELOG.md 2019-05-10 20:51:37.000000000
+0200
@@ -1,3 +1,10 @@
+## Parser combinators 1.0.3
+
+* Dropped support for GHC 7.10.
+
+* Added a test suite as a separate package called
+ `parser-combinators-tests`.
+
## Parser combinators 1.0.2
* Defined `liftA2` for `Permutation` manually. The new definition should be
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/parser-combinators-1.0.2/Control/Applicative/Combinators.hs
new/parser-combinators-1.0.3/Control/Applicative/Combinators.hs
--- old/parser-combinators-1.0.2/Control/Applicative/Combinators.hs
2019-04-05 21:22:07.000000000 +0200
+++ new/parser-combinators-1.0.3/Control/Applicative/Combinators.hs
2019-05-10 20:51:37.000000000 +0200
@@ -43,7 +43,6 @@
-- composite parsers in @try@ to achieve correct behavior.
{-# LANGUAGE BangPatterns #-}
-{-# LANGUAGE CPP #-}
module Control.Applicative.Combinators
( -- * Re-exports from "Control.Applicative"
@@ -81,11 +80,8 @@
where
import Control.Applicative
-import Data.Foldable
-
-#if MIN_VERSION_base(4,9,0)
import Control.Monad (replicateM, replicateM_)
-#endif
+import Data.Foldable
----------------------------------------------------------------------------
-- Re-exports from "Control.Applicative"
@@ -156,11 +152,7 @@
-- See also: 'skipCount', 'count''.
count :: Applicative m => Int -> m a -> m [a]
-#if MIN_VERSION_base(4,9,0)
count = replicateM
-#else
-count n p = sequenceA (replicate n p)
-#endif
{-# INLINE count #-}
-- | @'count'' m n p@ parses from @m@ to @n@ occurrences of @p@. If @n@ is
@@ -298,11 +290,7 @@
-- @since 0.3.0
skipCount :: Applicative m => Int -> m a -> m ()
-#if MIN_VERSION_base(4,9,0)
skipCount = replicateM_
-#else
-skipCount n p = sequenceA_ (replicate n p)
-#endif
{-# INLINE skipCount #-}
-- | @'skipManyTill' p end@ applies the parser @p@ /zero/ or more times
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/parser-combinators-1.0.2/LICENSE.md
new/parser-combinators-1.0.3/LICENSE.md
--- old/parser-combinators-1.0.2/LICENSE.md 2019-04-05 21:22:07.000000000
+0200
+++ new/parser-combinators-1.0.3/LICENSE.md 2019-05-10 20:51:37.000000000
+0200
@@ -1,4 +1,4 @@
-Copyright © 2017–2018 Mark Karpov
+Copyright © 2017–2019 Mark Karpov
All rights reserved.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/parser-combinators-1.0.2/README.md
new/parser-combinators-1.0.3/README.md
--- old/parser-combinators-1.0.2/README.md 2019-04-05 21:22:07.000000000
+0200
+++ new/parser-combinators-1.0.3/README.md 2019-05-10 20:51:37.000000000
+0200
@@ -9,8 +9,7 @@
The package provides common parser combinators defined in terms of
`Applicative` and `Alternative` without any dependencies but `base`. There
are also more efficient versions of the combinators defined in terms of
-`Monad` and `MonadPlus`. Test suite and benchmarks can be found in the
-[Megaparsec repo](https://github.com/mrkkrp/megaparsec).
+`Monad` and `MonadPlus`.
## Contribution
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/parser-combinators-1.0.2/parser-combinators.cabal
new/parser-combinators-1.0.3/parser-combinators.cabal
--- old/parser-combinators-1.0.2/parser-combinators.cabal 2019-04-05
21:22:07.000000000 +0200
+++ new/parser-combinators-1.0.3/parser-combinators.cabal 2019-05-10
20:51:37.000000000 +0200
@@ -1,7 +1,7 @@
name: parser-combinators
-version: 1.0.2
+version: 1.0.3
cabal-version: 1.18
-tested-with: GHC==7.10.3, GHC==8.0.2, GHC==8.2.2, GHC==8.4.4,
GHC==8.6.4
+tested-with: GHC==8.0.2, GHC==8.2.2, GHC==8.4.4, GHC==8.6.5
license: BSD3
license-file: LICENSE.md
author: Mark Karpov <[email protected]>
@@ -26,11 +26,7 @@
default: False
library
- build-depends: base >= 4.8 && < 5.0
-
- if !impl(ghc >= 8.0)
- build-depends: semigroups == 0.18.*
-
+ build-depends: base >= 4.9 && < 5.0
exposed-modules: Control.Applicative.Combinators
, Control.Applicative.Combinators.NonEmpty
, Control.Applicative.Permutations
@@ -41,7 +37,7 @@
ghc-options: -Wall -Werror
else
ghc-options: -O2 -Wall
- if flag(dev) && impl(ghc >= 8.0)
+ if flag(dev)
ghc-options: -Wcompat
-Wincomplete-record-updates
-Wincomplete-uni-patterns