commit ghc-parser-combinators for openSUSE:Factory

2020-08-28 Thread root
Hello community,

here is the log from the commit of package ghc-parser-combinators for 
openSUSE:Factory checked in at 2020-08-28 21:35:58

Comparing /work/SRC/openSUSE:Factory/ghc-parser-combinators (Old)
 and  /work/SRC/openSUSE:Factory/.ghc-parser-combinators.new.3399 (New)


Package is "ghc-parser-combinators"

Fri Aug 28 21:35:58 2020 rev:10 rq:829375 version:1.2.1

Changes:

--- 
/work/SRC/openSUSE:Factory/ghc-parser-combinators/ghc-parser-combinators.changes
2020-06-19 17:16:54.198799956 +0200
+++ 
/work/SRC/openSUSE:Factory/.ghc-parser-combinators.new.3399/ghc-parser-combinators.changes
  2020-08-28 21:35:59.620741301 +0200
@@ -1,0 +2,5 @@
+Tue Aug 18 10:45:40 UTC 2020 - Peter Simons 
+
+- Replace %setup -q with the more modern %autosetup macro.
+
+---



Other differences:
--
++ ghc-parser-combinators.spec ++
--- /var/tmp/diff_new_pack.sUPnIm/_old  2020-08-28 21:36:00.232741590 +0200
+++ /var/tmp/diff_new_pack.sUPnIm/_new  2020-08-28 21:36:00.232741590 +0200
@@ -42,7 +42,7 @@
 files.
 
 %prep
-%setup -q -n %{pkg_name}-%{version}
+%autosetup -n %{pkg_name}-%{version}
 
 %build
 %ghc_lib_build




commit ghc-parser-combinators for openSUSE:Factory

2020-06-19 Thread root
Hello community,

here is the log from the commit of package ghc-parser-combinators for 
openSUSE:Factory checked in at 2020-06-19 17:16:54

Comparing /work/SRC/openSUSE:Factory/ghc-parser-combinators (Old)
 and  /work/SRC/openSUSE:Factory/.ghc-parser-combinators.new.3606 (New)


Package is "ghc-parser-combinators"

Fri Jun 19 17:16:54 2020 rev:9 rq:815149 version:1.2.1

Changes:

--- 
/work/SRC/openSUSE:Factory/ghc-parser-combinators/ghc-parser-combinators.changes
2019-12-27 13:56:08.920738906 +0100
+++ 
/work/SRC/openSUSE:Factory/.ghc-parser-combinators.new.3606/ghc-parser-combinators.changes
  2020-06-19 17:16:54.198799956 +0200
@@ -2 +2 @@
-Sat Nov  9 03:01:48 UTC 2019 - psim...@suse.com
+Tue Jun  9 09:26:18 UTC 2020 - psim...@suse.com
@@ -4,2 +4 @@
-- Update parser-combinators to version 1.2.1.
-  ## Parser combinators 1.2.1
+- Add parser-combinators at version 1.2.1.
@@ -7,66 +5,0 @@
-  * The tests in `parser-combinators-tests` now work with Megaparsec 8.
-
-  * Dropped support for GHC 8.2.
-

-Fri Nov  8 16:14:24 UTC 2019 - Peter Simons 
-
-- Drop obsolete group attributes.
-

-Mon Jul 29 02:02:57 UTC 2019 - psim...@suse.com
-
-- Update parser-combinators to version 1.2.0.
-  Upstream has edited the change log file since the last release in
-  a non-trivial way, i.e. they did more than just add a new entry
-  at the top. You can review the file at:
-  http://hackage.haskell.org/package/parser-combinators-1.2.0/src/CHANGELOG.md
-

-Sun Jun  9 02:01:43 UTC 2019 - psim...@suse.com
-
-- Update parser-combinators to version 1.1.0.
-  ## Parser combinators 1.1.0
-
-  * Added support for ternary operators; see `TernR` in
-  `Control.Monad.Combinators.Expr`.
-

-Sat May 11 02:00:52 UTC 2019 - psim...@suse.com
-
-- 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`.
-

-Sat Apr  6 02:02:45 UTC 2019 - psim...@suse.com
-
-- Update parser-combinators to version 1.0.2.
-  ## Parser combinators 1.0.2
-
-  * Defined `liftA2` for `Permutation` manually. The new definition should be
-more efficient.
-
-  * Made inner `Maybe` field in `Permutation` strict.
-

-Wed Jan  2 03:01:18 UTC 2019 - psim...@suse.com
-
-- Update parser-combinators to version 1.0.1.
-  ## Parser combinators 1.0.1
-
-  * Cosmetic changes in the source code.
-

-Sat Oct 20 11:31:49 UTC 2018 - Peter Simons 
-
-- Use https URL to refer to bugs.opensuse.org.
-

-Tue Jul 10 18:17:16 UTC 2018 - psim...@suse.com
-
-- Add parser-combinators at version 1.0.0.



Other differences:
--
++ ghc-parser-combinators.spec ++
--- /var/tmp/diff_new_pack.S6S96S/_old  2020-06-19 17:16:54.710801406 +0200
+++ /var/tmp/diff_new_pack.S6S96S/_new  2020-06-19 17:16:54.710801406 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package ghc-parser-combinators
 #
-# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2020 SUSE LLC
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed




commit ghc-parser-combinators for openSUSE:Factory

2019-12-27 Thread root
Hello community,

here is the log from the commit of package ghc-parser-combinators for 
openSUSE:Factory checked in at 2019-12-27 13:56:01

Comparing /work/SRC/openSUSE:Factory/ghc-parser-combinators (Old)
 and  /work/SRC/openSUSE:Factory/.ghc-parser-combinators.new.6675 (New)


Package is "ghc-parser-combinators"

Fri Dec 27 13:56:01 2019 rev:8 rq:759470 version:1.2.1

Changes:

--- 
/work/SRC/openSUSE:Factory/ghc-parser-combinators/ghc-parser-combinators.changes
2019-08-13 13:15:09.793507103 +0200
+++ 
/work/SRC/openSUSE:Factory/.ghc-parser-combinators.new.6675/ghc-parser-combinators.changes
  2019-12-27 13:56:08.920738906 +0100
@@ -1,0 +2,15 @@
+Sat Nov  9 03:01:48 UTC 2019 - psim...@suse.com
+
+- Update parser-combinators to version 1.2.1.
+  ## Parser combinators 1.2.1
+
+  * The tests in `parser-combinators-tests` now work with Megaparsec 8.
+
+  * Dropped support for GHC 8.2.
+
+---
+Fri Nov  8 16:14:24 UTC 2019 - Peter Simons 
+
+- Drop obsolete group attributes.
+
+---

Old:

  parser-combinators-1.2.0.tar.gz

New:

  parser-combinators-1.2.1.tar.gz



Other differences:
--
++ ghc-parser-combinators.spec ++
--- /var/tmp/diff_new_pack.gR1JR4/_old  2019-12-27 13:56:09.628739249 +0100
+++ /var/tmp/diff_new_pack.gR1JR4/_new  2019-12-27 13:56:09.632739251 +0100
@@ -18,11 +18,10 @@
 
 %global pkg_name parser-combinators
 Name:   ghc-%{pkg_name}
-Version:1.2.0
+Version:1.2.1
 Release:0
 Summary:Lightweight package providing commonly useful parser 
combinators
 License:BSD-3-Clause
-Group:  Development/Libraries/Haskell
 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
@@ -33,7 +32,6 @@
 
 %package devel
 Summary:Haskell %{pkg_name} library development files
-Group:  Development/Libraries/Haskell
 Requires:   %{name} = %{version}-%{release}
 Requires:   ghc-compiler = %{ghc_version}
 Requires(post): ghc-compiler = %{ghc_version}

++ parser-combinators-1.2.0.tar.gz -> parser-combinators-1.2.1.tar.gz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/parser-combinators-1.2.0/CHANGELOG.md 
new/parser-combinators-1.2.1/CHANGELOG.md
--- old/parser-combinators-1.2.0/CHANGELOG.md   2001-09-09 03:46:40.0 
+0200
+++ new/parser-combinators-1.2.1/CHANGELOG.md   2001-09-09 03:46:40.0 
+0200
@@ -1,3 +1,9 @@
+## Parser combinators 1.2.1
+
+* The tests in `parser-combinators-tests` now work with Megaparsec 8.
+
+* Dropped support for GHC 8.2.
+
 ## Parser combinators 1.2.0
 
 * Added `manyTill_` and `someTill_` combinators which work like the older
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/parser-combinators-1.2.0/Control/Applicative/Combinators.hs 
new/parser-combinators-1.2.1/Control/Applicative/Combinators.hs
--- old/parser-combinators-1.2.0/Control/Applicative/Combinators.hs 
2001-09-09 03:46:40.0 +0200
+++ new/parser-combinators-1.2.1/Control/Applicative/Combinators.hs 
2001-09-09 03:46:40.0 +0200
@@ -231,6 +231,8 @@
 -- should succeed at least once. @end@ result is consumed and lost. Use
 -- 'someTill_' if you wish to keep it.
 --
+-- > someTill p end = liftA2 (:) p (manyTill p end)
+--
 -- See also: 'skipSome', 'skipSomeTill'.
 
 someTill :: Alternative m => m a -> m end -> m [a]
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/parser-combinators-1.2.0/Control/Monad/Combinators.hs 
new/parser-combinators-1.2.1/Control/Monad/Combinators.hs
--- old/parser-combinators-1.2.0/Control/Monad/Combinators.hs   2001-09-09 
03:46:40.0 +0200
+++ new/parser-combinators-1.2.1/Control/Monad/Combinators.hs   2001-09-09 
03:46:40.0 +0200
@@ -206,6 +206,8 @@
 -- should succeed at least once. __Note__ that @end@ result is consumed and
 -- lost. Use 'someTill_' if you wish to keep it.
 --
+-- > someTill p end = liftM2 (:) p (manyTill p end)
+--
 -- See also: 'skipSome', 'skipSomeTill'.
 
 someTill :: MonadPlus m => m a -> m end -> m [a]
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/parser-combinators-1.2.0/README.md 
new/parser-combinators-1.2.1/README.md
--- old/parser-combinators-1.2.0/README.md  2001-09-09 03:46:40.0 
+0200
+++ new/parser-combinators-1.2.1/README.md  2001-09-09 03:46:40.0 
+0200
@@ -16,7 +16,7 @@
 Issues, bugs, and 

commit ghc-parser-combinators for openSUSE:Factory

2019-08-13 Thread root
Hello community,

here is the log from the commit of package ghc-parser-combinators for 
openSUSE:Factory checked in at 2019-08-13 13:15:09

Comparing /work/SRC/openSUSE:Factory/ghc-parser-combinators (Old)
 and  /work/SRC/openSUSE:Factory/.ghc-parser-combinators.new.9556 (New)


Package is "ghc-parser-combinators"

Tue Aug 13 13:15:09 2019 rev:7 rq:721032 version:1.2.0

Changes:

--- 
/work/SRC/openSUSE:Factory/ghc-parser-combinators/ghc-parser-combinators.changes
2019-06-12 13:18:41.772568179 +0200
+++ 
/work/SRC/openSUSE:Factory/.ghc-parser-combinators.new.9556/ghc-parser-combinators.changes
  2019-08-13 13:15:09.793507103 +0200
@@ -1,0 +2,9 @@
+Mon Jul 29 02:02:57 UTC 2019 - psim...@suse.com
+
+- Update parser-combinators to version 1.2.0.
+  Upstream has edited the change log file since the last release in
+  a non-trivial way, i.e. they did more than just add a new entry
+  at the top. You can review the file at:
+  http://hackage.haskell.org/package/parser-combinators-1.2.0/src/CHANGELOG.md
+
+---

Old:

  parser-combinators-1.1.0.tar.gz

New:

  parser-combinators-1.2.0.tar.gz



Other differences:
--
++ ghc-parser-combinators.spec ++
--- /var/tmp/diff_new_pack.vffplz/_old  2019-08-13 13:15:10.313506982 +0200
+++ /var/tmp/diff_new_pack.vffplz/_new  2019-08-13 13:15:10.325506979 +0200
@@ -18,7 +18,7 @@
 
 %global pkg_name parser-combinators
 Name:   ghc-%{pkg_name}
-Version:1.1.0
+Version:1.2.0
 Release:0
 Summary:Lightweight package providing commonly useful parser 
combinators
 License:BSD-3-Clause

++ parser-combinators-1.1.0.tar.gz -> parser-combinators-1.2.0.tar.gz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/parser-combinators-1.1.0/CHANGELOG.md 
new/parser-combinators-1.2.0/CHANGELOG.md
--- old/parser-combinators-1.1.0/CHANGELOG.md   2019-06-08 23:57:40.0 
+0200
+++ new/parser-combinators-1.2.0/CHANGELOG.md   2001-09-09 03:46:40.0 
+0200
@@ -1,7 +1,15 @@
+## Parser combinators 1.2.0
+
+* Added `manyTill_` and `someTill_` combinators which work like the older
+  `manyTill` and `someTill` except they also return the result of the `end`
+  parser.
+
+* Dropped support for GHC 8.0.
+
 ## Parser combinators 1.1.0
 
 * Added support for ternary operators; see `TernR` in
-`Control.Monad.Combinators.Expr`.
+  `Control.Monad.Combinators.Expr`.
 
 ## Parser combinators 1.0.3
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/parser-combinators-1.1.0/Control/Applicative/Combinators/NonEmpty.hs 
new/parser-combinators-1.2.0/Control/Applicative/Combinators/NonEmpty.hs
--- old/parser-combinators-1.1.0/Control/Applicative/Combinators/NonEmpty.hs
2019-06-08 23:57:40.0 +0200
+++ new/parser-combinators-1.2.0/Control/Applicative/Combinators/NonEmpty.hs
2001-09-09 03:46:40.0 +0200
@@ -1,6 +1,6 @@
 -- |
 -- Module  :  Control.Applicative.Combinators
--- Copyright   :  © 2017–2019 Mark Karpov
+-- Copyright   :  © 2017–present Mark Karpov
 -- License :  BSD 3 clause
 --
 -- Maintainer  :  Mark Karpov 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/parser-combinators-1.1.0/Control/Applicative/Combinators.hs 
new/parser-combinators-1.2.0/Control/Applicative/Combinators.hs
--- old/parser-combinators-1.1.0/Control/Applicative/Combinators.hs 
2019-06-08 23:57:40.0 +0200
+++ new/parser-combinators-1.2.0/Control/Applicative/Combinators.hs 
2001-09-09 03:46:40.0 +0200
@@ -1,6 +1,6 @@
 -- |
 -- Module  :  Control.Applicative.Combinators
--- Copyright   :  © 2017–2019 Mark Karpov
+-- Copyright   :  © 2017–present Mark Karpov
 -- License :  BSD 3 clause
 --
 -- Maintainer  :  Mark Karpov 
@@ -43,6 +43,7 @@
 -- composite parsers in @try@ to achieve correct behavior.
 
 {-# LANGUAGE BangPatterns #-}
+{-# LANGUAGE TupleSections #-}
 
 module Control.Applicative.Combinators
   ( -- * Re-exports from "Control.Applicative"
@@ -66,7 +67,9 @@
   , endBy
   , endBy1
   , manyTill
+  , manyTill_
   , someTill
+  , someTill_
   , option
   , sepBy
   , sepBy1
@@ -198,7 +201,8 @@
 {-# INLINE endBy1 #-}
 
 -- | @'manyTill' p end@ applies parser @p@ /zero/ or more times until parser
--- @end@ succeeds. Returns the list of values returned by @p@.
+-- @end@ succeeds. Returns the list of values returned by @p@. @end@ result
+-- is consumed and lost. Use 'manyTill_' if you wish to keep it.
 --
 -- See also: 'skipMany', 'skipManyTill'.
 
@@ -208,8 +212,24 @@
 go = ([] <$ end) <|> liftA2 (:) p go
 {-# INLINE manyTill #-}
 
+-- | 

commit ghc-parser-combinators for openSUSE:Factory

2019-06-12 Thread root
Hello community,

here is the log from the commit of package ghc-parser-combinators for 
openSUSE:Factory checked in at 2019-06-12 13:18:40

Comparing /work/SRC/openSUSE:Factory/ghc-parser-combinators (Old)
 and  /work/SRC/openSUSE:Factory/.ghc-parser-combinators.new.4811 (New)


Package is "ghc-parser-combinators"

Wed Jun 12 13:18:40 2019 rev:6 rq:709201 version:1.1.0

Changes:

--- 
/work/SRC/openSUSE:Factory/ghc-parser-combinators/ghc-parser-combinators.changes
2019-05-17 23:42:52.169922495 +0200
+++ 
/work/SRC/openSUSE:Factory/.ghc-parser-combinators.new.4811/ghc-parser-combinators.changes
  2019-06-12 13:18:41.772568179 +0200
@@ -1,0 +2,9 @@
+Sun Jun  9 02:01:43 UTC 2019 - psim...@suse.com
+
+- Update parser-combinators to version 1.1.0.
+  ## Parser combinators 1.1.0
+
+  * Added support for ternary operators; see `TernR` in
+  `Control.Monad.Combinators.Expr`.
+
+---

Old:

  parser-combinators-1.0.3.tar.gz

New:

  parser-combinators-1.1.0.tar.gz



Other differences:
--
++ ghc-parser-combinators.spec ++
--- /var/tmp/diff_new_pack.aR45wi/_old  2019-06-12 13:18:42.412567887 +0200
+++ /var/tmp/diff_new_pack.aR45wi/_new  2019-06-12 13:18:42.412567887 +0200
@@ -18,7 +18,7 @@
 
 %global pkg_name parser-combinators
 Name:   ghc-%{pkg_name}
-Version:1.0.3
+Version:1.1.0
 Release:0
 Summary:Lightweight package providing commonly useful parser 
combinators
 License:BSD-3-Clause

++ parser-combinators-1.0.3.tar.gz -> parser-combinators-1.1.0.tar.gz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/parser-combinators-1.0.3/CHANGELOG.md 
new/parser-combinators-1.1.0/CHANGELOG.md
--- old/parser-combinators-1.0.3/CHANGELOG.md   2019-05-10 20:51:37.0 
+0200
+++ new/parser-combinators-1.1.0/CHANGELOG.md   2019-06-08 23:57:40.0 
+0200
@@ -1,3 +1,8 @@
+## Parser combinators 1.1.0
+
+* Added support for ternary operators; see `TernR` in
+`Control.Monad.Combinators.Expr`.
+
 ## Parser combinators 1.0.3
 
 * Dropped support for GHC 7.10.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/parser-combinators-1.0.3/Control/Monad/Combinators/Expr.hs 
new/parser-combinators-1.1.0/Control/Monad/Combinators/Expr.hs
--- old/parser-combinators-1.0.3/Control/Monad/Combinators/Expr.hs  
2019-05-10 20:51:37.0 +0200
+++ new/parser-combinators-1.1.0/Control/Monad/Combinators/Expr.hs  
2019-06-08 23:57:40.0 +0200
@@ -30,6 +30,18 @@
   | InfixR  (m (a -> a -> a)) -- ^ Right-associative infix
   | Prefix  (m (a -> a))  -- ^ Prefix
   | Postfix (m (a -> a))  -- ^ Postfix
+  | TernR   (m (m (a -> a -> a -> a)))
+-- ^ Right-associative ternary. Right-associative means that
+-- @a ? b : d ? e : f@ parsed as
+-- @a ? b : (d ? e : f)@ and not as @(a ? b : d) ? e : f@.
+--
+-- The outer monadic action parses the first separator (e.g. @?@) and
+-- returns an action (of type @m (a -> a -> a -> a)@) that parses the
+-- second separator (e.g. @:@).
+--
+-- Example usage:
+--
+-- >>> TernR ((If <$ char ':') <$ char '?')
 
 -- | @'makeExprParser' term table@ builds an expression parser for terms
 -- @term@ with operators from @table@, taking the associativity and
@@ -89,13 +101,14 @@
 
 addPrecLevel :: MonadPlus m => m a -> [Operator m a] -> m a
 addPrecLevel term ops =
-  term' >>= \x -> choice [ras' x, las' x, nas' x, return x]
+  term' >>= \x -> choice [ras' x, las' x, nas' x, tern' x, return x]
   where
-(ras, las, nas, prefix, postfix) = foldr splitOp ([],[],[],[],[]) ops
+(ras, las, nas, prefix, postfix, tern) = foldr splitOp ([],[],[],[],[],[]) 
ops
 term' = pTerm (choice prefix) term (choice postfix)
 ras'  = pInfixR (choice ras) term'
 las'  = pInfixL (choice las) term'
 nas'  = pInfixN (choice nas) term'
+tern' = pTernR  (choice tern) term'
 {-# INLINEABLE addPrecLevel #-}
 
 -- | @pTerm prefix term postfix@ parses a @term@ surrounded by optional
@@ -144,19 +157,33 @@
   return $ f x y
 {-# INLINE pInfixR #-}
 
+-- | Parse the first separator of a ternary operator
+
+pTernR :: MonadPlus m => m (m (a -> a -> a -> a)) -> m a -> a -> m a
+pTernR sep1 p x = do
+  sep2 <- sep1
+  y <- p >>= \r -> pTernR sep1 p r `mplus` return r
+  f <- sep2
+  z <- p >>= \r -> pTernR sep1 p r `mplus` return r
+  return $ f x y z
+{-# INLINE pTernR #-}
+
 type Batch m a =
   ( [m (a -> a -> a)]
   , [m (a -> a -> a)]
   , [m (a -> a -> a)]
   , [m (a -> a)]
-  , [m (a -> a)] )
+  , [m (a -> a)]
+  , [m (m (a -> a -> a -> a))]
+  )
 
 -- | A helper to separate various 

commit ghc-parser-combinators for openSUSE:Factory

2019-05-17 Thread root
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 - psim...@suse.com
+
+- 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.0 
+0200
+++ new/parser-combinators-1.0.3/CHANGELOG.md   2019-05-10 20:51:37.0 
+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.0 +0200
+++ new/parser-combinators-1.0.3/Control/Applicative/Combinators.hs 
2019-05-10 20:51:37.0 +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.0 
+0200
+++ new/parser-combinators-1.0.3/LICENSE.md 2019-05-10 20:51:37.0 
+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.0 
+0200
+++ new/parser-combinators-1.0.3/README.md  2019-05-10 20:51:37.0 
+0200
@@ -9,8 +9,7 @@
 The package provides common parser combinators defined in terms of
 `Applicative` and 

commit ghc-parser-combinators for openSUSE:Factory

2019-04-28 Thread root
Hello community,

here is the log from the commit of package ghc-parser-combinators for 
openSUSE:Factory checked in at 2019-04-28 20:13:13

Comparing /work/SRC/openSUSE:Factory/ghc-parser-combinators (Old)
 and  /work/SRC/openSUSE:Factory/.ghc-parser-combinators.new.5536 (New)


Package is "ghc-parser-combinators"

Sun Apr 28 20:13:13 2019 rev:4 rq:698555 version:1.0.2

Changes:

--- 
/work/SRC/openSUSE:Factory/ghc-parser-combinators/ghc-parser-combinators.changes
2019-01-25 22:43:25.063224326 +0100
+++ 
/work/SRC/openSUSE:Factory/.ghc-parser-combinators.new.5536/ghc-parser-combinators.changes
  2019-04-28 20:13:16.910424876 +0200
@@ -1,0 +2,11 @@
+Sat Apr  6 02:02:45 UTC 2019 - psim...@suse.com
+
+- Update parser-combinators to version 1.0.2.
+  ## Parser combinators 1.0.2
+
+  * Defined `liftA2` for `Permutation` manually. The new definition should be
+more efficient.
+
+  * Made inner `Maybe` field in `Permutation` strict.
+
+---

Old:

  parser-combinators-1.0.1.tar.gz

New:

  parser-combinators-1.0.2.tar.gz



Other differences:
--
++ ghc-parser-combinators.spec ++
--- /var/tmp/diff_new_pack.czt91U/_old  2019-04-28 20:13:17.842424297 +0200
+++ /var/tmp/diff_new_pack.czt91U/_new  2019-04-28 20:13:17.846424294 +0200
@@ -18,7 +18,7 @@
 
 %global pkg_name parser-combinators
 Name:   ghc-%{pkg_name}
-Version:1.0.1
+Version:1.0.2
 Release:0
 Summary:Lightweight package providing commonly useful parser 
combinators
 License:BSD-3-Clause

++ parser-combinators-1.0.1.tar.gz -> parser-combinators-1.0.2.tar.gz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/parser-combinators-1.0.1/CHANGELOG.md 
new/parser-combinators-1.0.2/CHANGELOG.md
--- old/parser-combinators-1.0.1/CHANGELOG.md   2001-09-09 03:46:40.0 
+0200
+++ new/parser-combinators-1.0.2/CHANGELOG.md   2019-04-05 21:22:07.0 
+0200
@@ -1,3 +1,10 @@
+## Parser combinators 1.0.2
+
+* Defined `liftA2` for `Permutation` manually. The new definition should be
+  more efficient.
+
+* Made inner `Maybe` field in `Permutation` strict.
+
 ## Parser combinators 1.0.1
 
 * Cosmetic changes in the source code.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/parser-combinators-1.0.1/Control/Applicative/Permutations.hs 
new/parser-combinators-1.0.2/Control/Applicative/Permutations.hs
--- old/parser-combinators-1.0.1/Control/Applicative/Permutations.hs
2001-09-09 03:46:40.0 +0200
+++ new/parser-combinators-1.0.2/Control/Applicative/Permutations.hs
2019-04-05 21:22:07.0 +0200
@@ -40,6 +40,8 @@
 --
 -- @since 0.2.0
 
+{-# LANGUAGE CPP #-}
+
 module Control.Applicative.Permutations
   ( -- ** Permutation type
 Permutation
@@ -55,7 +57,7 @@
 
 -- | An 'Applicative' wrapper-type for constructing permutation parsers.
 
-data Permutation m a = P (Maybe a) (m (Permutation m a))
+data Permutation m a = P !(Maybe a) (m (Permutation m a))
 
 instance Functor m => Functor (Permutation m) where
   fmap f (P v p) = P (f <$> v) (fmap f <$> p)
@@ -66,6 +68,12 @@
 where
   lhsAlt = (<*> rhs) <$> v
   rhsAlt = (lhs <*>) <$> w
+#if MIN_VERSION_base(4,10,0)
+  liftA2 f lhs@(P x v) rhs@(P y w) = P (liftA2 f x y) (lhsAlt <|> rhsAlt)
+where
+  lhsAlt = (\p -> liftA2 f p rhs) <$> v
+  rhsAlt = liftA2 f lhs <$> w
+#endif
 
 -- | \"Unlifts\" a permutation parser into a parser to be evaluated.
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/parser-combinators-1.0.1/parser-combinators.cabal 
new/parser-combinators-1.0.2/parser-combinators.cabal
--- old/parser-combinators-1.0.1/parser-combinators.cabal   2001-09-09 
03:46:40.0 +0200
+++ new/parser-combinators-1.0.2/parser-combinators.cabal   2019-04-05 
21:22:07.0 +0200
@@ -1,7 +1,7 @@
 name: parser-combinators
-version:  1.0.1
+version:  1.0.2
 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.3
+tested-with:  GHC==7.10.3, GHC==8.0.2, GHC==8.2.2, GHC==8.4.4, 
GHC==8.6.4
 license:  BSD3
 license-file: LICENSE.md
 author:   Mark Karpov 




commit ghc-parser-combinators for openSUSE:Factory

2019-01-25 Thread root
Hello community,

here is the log from the commit of package ghc-parser-combinators for 
openSUSE:Factory checked in at 2019-01-25 22:43:23

Comparing /work/SRC/openSUSE:Factory/ghc-parser-combinators (Old)
 and  /work/SRC/openSUSE:Factory/.ghc-parser-combinators.new.28833 (New)


Package is "ghc-parser-combinators"

Fri Jan 25 22:43:23 2019 rev:3 rq:667139 version:1.0.1

Changes:

--- 
/work/SRC/openSUSE:Factory/ghc-parser-combinators/ghc-parser-combinators.changes
2018-10-25 09:01:22.826686949 +0200
+++ 
/work/SRC/openSUSE:Factory/.ghc-parser-combinators.new.28833/ghc-parser-combinators.changes
 2019-01-25 22:43:25.063224326 +0100
@@ -1,0 +2,8 @@
+Wed Jan  2 03:01:18 UTC 2019 - psim...@suse.com
+
+- Update parser-combinators to version 1.0.1.
+  ## Parser combinators 1.0.1
+
+  * Cosmetic changes in the source code.
+
+---

Old:

  parser-combinators-1.0.0.tar.gz

New:

  parser-combinators-1.0.1.tar.gz



Other differences:
--
++ ghc-parser-combinators.spec ++
--- /var/tmp/diff_new_pack.4DZ2xZ/_old  2019-01-25 22:43:25.811223404 +0100
+++ /var/tmp/diff_new_pack.4DZ2xZ/_new  2019-01-25 22:43:25.811223404 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package ghc-parser-combinators
 #
-# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2019 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
@@ -18,7 +18,7 @@
 
 %global pkg_name parser-combinators
 Name:   ghc-%{pkg_name}
-Version:1.0.0
+Version:1.0.1
 Release:0
 Summary:Lightweight package providing commonly useful parser 
combinators
 License:BSD-3-Clause

++ parser-combinators-1.0.0.tar.gz -> parser-combinators-1.0.1.tar.gz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/parser-combinators-1.0.0/CHANGELOG.md 
new/parser-combinators-1.0.1/CHANGELOG.md
--- old/parser-combinators-1.0.0/CHANGELOG.md   2018-04-27 18:34:19.0 
+0200
+++ new/parser-combinators-1.0.1/CHANGELOG.md   2001-09-09 03:46:40.0 
+0200
@@ -1,3 +1,7 @@
+## Parser combinators 1.0.1
+
+* Cosmetic changes in the source code.
+
 ## Parser combinators 1.0.0
 
 * Added the `Control.Monad.Combinators.Expr` module.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/parser-combinators-1.0.0/Control/Applicative/Combinators/NonEmpty.hs 
new/parser-combinators-1.0.1/Control/Applicative/Combinators/NonEmpty.hs
--- old/parser-combinators-1.0.0/Control/Applicative/Combinators/NonEmpty.hs
2018-04-04 09:39:54.0 +0200
+++ new/parser-combinators-1.0.1/Control/Applicative/Combinators/NonEmpty.hs
2001-09-09 03:46:40.0 +0200
@@ -1,6 +1,6 @@
 -- |
 -- Module  :  Control.Applicative.Combinators
--- Copyright   :  © 2017–2018 Mark Karpov
+-- Copyright   :  © 2017–2019 Mark Karpov
 -- License :  BSD 3 clause
 --
 -- Maintainer  :  Mark Karpov 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/parser-combinators-1.0.0/Control/Applicative/Combinators.hs 
new/parser-combinators-1.0.1/Control/Applicative/Combinators.hs
--- old/parser-combinators-1.0.0/Control/Applicative/Combinators.hs 
2018-04-04 09:39:54.0 +0200
+++ new/parser-combinators-1.0.1/Control/Applicative/Combinators.hs 
2001-09-09 03:46:40.0 +0200
@@ -1,6 +1,6 @@
 -- |
 -- Module  :  Control.Applicative.Combinators
--- Copyright   :  © 2017–2018 Mark Karpov
+-- Copyright   :  © 2017–2019 Mark Karpov
 -- License :  BSD 3 clause
 --
 -- Maintainer  :  Mark Karpov 
@@ -85,8 +85,6 @@
 
 #if MIN_VERSION_base(4,9,0)
 import Control.Monad (replicateM, replicateM_)
-#elif !MIN_VERSION_base(4,8,0)
-import Data.Traversable (sequenceA)
 #endif
 
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/parser-combinators-1.0.0/Control/Applicative/Permutations.hs 
new/parser-combinators-1.0.1/Control/Applicative/Permutations.hs
--- old/parser-combinators-1.0.0/Control/Applicative/Permutations.hs
2018-04-27 18:41:37.0 +0200
+++ new/parser-combinators-1.0.1/Control/Applicative/Permutations.hs
2001-09-09 03:46:40.0 +0200
@@ -1,6 +1,6 @@
 -- |
 -- Module  :  Control.Applicative.Permutations
--- Copyright   :  © 2017–2018 Mark Karpov
+-- Copyright   :  © 2017–2019 Alex Washburn
 -- License :  BSD 3 clause
 --
 -- Maintainer  :  Mark Karpov 
diff -urN '--exclude=CVS' 

commit ghc-parser-combinators for openSUSE:Factory

2018-10-25 Thread root
Hello community,

here is the log from the commit of package ghc-parser-combinators for 
openSUSE:Factory checked in at 2018-10-25 09:01:22

Comparing /work/SRC/openSUSE:Factory/ghc-parser-combinators (Old)
 and  /work/SRC/openSUSE:Factory/.ghc-parser-combinators.new (New)


Package is "ghc-parser-combinators"

Thu Oct 25 09:01:22 2018 rev:2 rq:643434 version:1.0.0

Changes:

--- 
/work/SRC/openSUSE:Factory/ghc-parser-combinators/ghc-parser-combinators.changes
2018-07-24 17:09:56.110334432 +0200
+++ 
/work/SRC/openSUSE:Factory/.ghc-parser-combinators.new/ghc-parser-combinators.changes
   2018-10-25 09:01:22.826686949 +0200
@@ -1,0 +2,5 @@
+Sat Oct 20 11:31:49 UTC 2018 - Peter Simons 
+
+- Use https URL to refer to bugs.opensuse.org.
+
+---



Other differences:
--
++ ghc-parser-combinators.spec ++
--- /var/tmp/diff_new_pack.SdACmN/_old  2018-10-25 09:01:23.278686673 +0200
+++ /var/tmp/diff_new_pack.SdACmN/_new  2018-10-25 09:01:23.278686673 +0200
@@ -12,7 +12,7 @@
 # license that conforms to the Open Source Definition (Version 1.9)
 # published by the Open Source Initiative.
 
-# Please submit bugfixes or comments via http://bugs.opensuse.org/
+# Please submit bugfixes or comments via https://bugs.opensuse.org/
 #