Hello community,

here is the log from the commit of package ghc-megaparsec for openSUSE:Factory 
checked in at 2019-12-27 13:54:53
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/ghc-megaparsec (Old)
 and      /work/SRC/openSUSE:Factory/.ghc-megaparsec.new.6675 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "ghc-megaparsec"

Fri Dec 27 13:54:53 2019 rev:7 rq:759444 version:8.0.0

Changes:
--------
--- /work/SRC/openSUSE:Factory/ghc-megaparsec/ghc-megaparsec.changes    
2019-05-12 11:36:09.334354151 +0200
+++ /work/SRC/openSUSE:Factory/.ghc-megaparsec.new.6675/ghc-megaparsec.changes  
2019-12-27 13:55:05.116708077 +0100
@@ -1,0 +2,41 @@
+Fri Nov  8 16:14:11 UTC 2019 - Peter Simons <[email protected]>
+
+- Drop obsolete group attributes.
+
+-------------------------------------------------------------------
+Fri Nov  8 03:01:43 UTC 2019 - [email protected]
+
+- Update megaparsec to version 8.0.0.
+  ## Megaparec 8.0.0
+
+  * The methods `failure` and `fancyFailure` of `MonadParsec` are now ordinary
+    functions and live in `Text.Megaparsec`. They are defined in terms of the
+    new `parseError` method of `MonadParsec`. This method allows us to signal
+    parse errors at a given offset without manipulating parser state manually.
+
+  * Megaparsec now supports registration of “delayed” parse errors. On lower
+    level we added a new field called `stateParseErrors` to the `State`
+    record. The type also had to change from `State s` to `State s e`. This
+    field contains the list of registered `ParseErrors` that do not end
+    parsing immediately but still will cause failure in the end if the list is
+    not empty. Users are expected to register parse errors using the three
+    functions: `registerParseError`, `registerFailure`, and
+    `registerFancyFailure`. These functions are analogous to those without the
+    `register` prefix, except that they have “delayed” effect.
+
+  * Added the `tokensLength` method to the `Stream` type class to improve
+    support for custom input streams.
+
+  * Added the `setErrorOffset` function to set offset of `ParseError`s.
+
+  * Changed type signatures of `reachOffset` and `reachOffsetNoLine` methods
+    of the `Stream` type class. Instead of three-tuple `reachOffset` now
+    returns two-tuple because `SourcePos` is already contained in the returned
+    `PosState` record.
+
+  * Generalized `decimal`, `binary`, `octal`, and `hexadecimal` parsers in
+    lexer modules so that they `Num` instead of just `Integral`.
+
+  * Dropped support for GHC 8.2.x and older.
+
+-------------------------------------------------------------------

Old:
----
  megaparsec-7.0.5.tar.gz

New:
----
  megaparsec-8.0.0.tar.gz

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ ghc-megaparsec.spec ++++++
--- /var/tmp/diff_new_pack.ttOw5a/_old  2019-12-27 13:55:06.528708758 +0100
+++ /var/tmp/diff_new_pack.ttOw5a/_new  2019-12-27 13:55:06.532708760 +0100
@@ -18,11 +18,10 @@
 
 %global pkg_name megaparsec
 Name:           ghc-%{pkg_name}
-Version:        7.0.5
+Version:        8.0.0
 Release:        0
 Summary:        Monadic parser combinators
 License:        BSD-2-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
@@ -39,12 +38,11 @@
 
 %description
 This is an industrial-strength monadic parser combinator library.
-Megaparsec is a feature-rich package that strikes a nice balance between speed,
-flexibility, and quality of parse errors.
+Megaparsec is a feature-rich package that tries to find a nice balance between
+speed, flexibility, and quality of parse errors.
 
 %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}
@@ -72,6 +70,6 @@
 %license LICENSE.md
 
 %files devel -f %{name}-devel.files
-%doc AUTHORS.md CHANGELOG.md README.md
+%doc CHANGELOG.md README.md
 
 %changelog

++++++ megaparsec-7.0.5.tar.gz -> megaparsec-8.0.0.tar.gz ++++++
++++ 2063 lines of diff (skipped)


Reply via email to