Index | index by Group | index by Distribution | index by Vendor | index by creation date | index by Name | Mirrors | Help | Search |
Name: ghc-megaparsec-devel | Distribution: SUSE Linux Enterprise 15 SP3 |
Version: 8.0.0 | Vendor: openSUSE |
Release: bp153.1.20 | Build date: Mon Apr 12 12:23:48 2021 |
Group: Unspecified | Build host: obs-arm-8 |
Size: 14876989 | Source RPM: ghc-megaparsec-8.0.0-bp153.1.20.src.rpm |
Packager: https://bugs.opensuse.org | |
Url: https://hackage.haskell.org/package/megaparsec | |
Summary: Haskell megaparsec library development files |
This package provides the Haskell megaparsec library development files.
BSD-2-Clause
* Fri Nov 08 2019 Peter Simons <psimons@suse.com> - Drop obsolete group attributes. * Fri Nov 08 2019 psimons@suse.com - 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. * Thu May 02 2019 psimons@suse.com - Update megaparsec to version 7.0.5. [#]# Megaparsec 7.0.5 * Dropped support for GHC 7.10. * Adapted the code to `MonadFail` changes in `base-4.13`. * Separated the test suite into its own package. The reason is that we can avoid circular dependency on `hspec-megaparsec` and thus avoid keeping copies of its source files in our test suite, as we had to do before. Another benefit is that we can export some auxiliary functions in `megaparsec-tests` which can be used by other test suites, for example in the `parser-combinators-tests` package. Version of `megaparsec-tests` will be kept in sync with versions of `megaparsec` from now on. * Fri Nov 09 2018 psimons@suse.com - Update megaparsec to version 7.0.4. 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/megaparsec-7.0.4/src/CHANGELOG.md * Thu Nov 01 2018 psimons@suse.com - Update megaparsec to version 7.0.3. [#]# Megaparsec 7.0.3 * Fixed the build with `mtl` older than `2.2.2`. * Mon Oct 22 2018 psimons@suse.com - Update megaparsec to version 7.0.2. [#]# Megaparsec 7.0.2 * Fixed the property test for `char'` which was failing in the case when there is a character with different upper and title cases. * More descriptive error messages when `elabel` or `ulabel` from `Text.Megaparsec.Error.Builder` are used with empty strings. * Typos fixes in the docs. * Wed Oct 10 2018 psimons@suse.com - Update megaparsec to version 7.0.1. [#]# Megaparsec 7.0.1 * Fixed a bug in `errorBundlePretty`. Previously the question sign `?` was erroneously inserted before offending line in 2nd and later parse errors. [#]# Megaparsec 7.0.0 [#]## General * Dropped the `Text.Megaparsec.Perm` module. Use `Control.Applicative.Permutations` from `parser-combinators` instead. * Dropped the `Text.Megaparsec.Expr` module. Use `Control.Monad.Combinators.Expr` from `parser-combinators` instead. * The debugging function `dbg` has been moved from `Text.Megaparsec` to its own module `Text.Megaparsec.Debug`. * Dropped support for GHC 7.8. [#]## Combinators * Moved some general combinators from `Text.Megaparsec.Char` and `Text.Megaparsec.Byte` to `Text.Megaparsec`, renaming some of them for clarity. Practical consequences: * Now there is the `single` combinator that is a generalization of `char` for arbitrary streams. `Text.Megaparsec.Char` and `Text.Megaparsec.Byte` still contain `char` as type-constrained versions of `single`. * Similarly, now there is the `chunk` combinator that is a generalization of `string` for arbitrary streams. The `string` combinator is still re-exported from `Text.Megaparsec.Char` and `Text.Megaparsec.Byte` for compatibility. * `satisfy` does not depend on type of token, and so it now lives in `Text.Megaparsec`. * `anyChar` was renamed to `anySingle` and moved to `Text.Megaparsec`. * `notChar` was renamed to `anySingleBut` and moved to `Text.Megaparsec`. * `oneOf` and `noneOf` were moved to `Text.Megaparsec`. * Simplified the type of the `token` primitive. It now takes just a matching function `Token s -> Maybe a` as the first argument and the collection of expected items `Set (ErrorItem (Token s))` as the second argument. This makes sense because the collection of expected items cannot depend on what we see in the input stream. * The `label` primitive now doesn't prepend the phrase “the rest of” to the label when its inner parser produces hints after consuming input. In that case `label` has no effect. * Fixed the `Text.Megaparsec.Char.Lexer.charLiteral` so it can accept longer escape sequences (max length is now 10). * Added the `binDigitChar` functions in `Text.Megaparsec.Byte` and `Text.Megaparsec.Char`. * Added the `binary` functions in `Text.Megaparsec.Byte.Lexer` and `Text.Megaparsec.Char.Lexer`. * Improved case-insensitive character matching in the cases when e.g. `isLower` and `isUpper` both return `False`. Functions affected: `Text.Megaparsec.Char.char'`. * Renamed `getPosition` to `getSourcePos`. * Renamed `getTokensProcessed` to `getOffset`, `setTokensProcessed` to `setOffset`. * Dropped `getTabWidth` and `setTabWidth` because tab width is irrelevant to parsing process now, it's only relevant for pretty-printing of parse errors, which is handled separately. * Added and `withParsecT` in `Text.Megaparsec.Internal` to allow changing the type of the custom data component in parse errors. [#]## Parser state and input stream * Dropped stacks of source positions. Accordingly, the functions `pushPosition` and `popPosition` from `Text.Megaparsec` and `sourcePosStackPretty` from `Text.Megaparsec.Error` were removed. The reason for this simplification is that I could not find any code that uses the feature and it makes manipulation of source positions hairy. * Introduced `PosState` for calculating `SourcePos` from offsets and getting offending line for displaying on pretty-printing of parse errors. It's now contained in both `State` and `ParseErrorBundle`. * Dropped `positionAt1`, `positionAtN`, `advance1`, and `advanceN` methods from `Stream`. They are no longer necessary because `reachOffset` (and its specialized version `reachOffsetNoLine`) takes care of `SourcePos` calculation. [#]## Parse errors * `ParseError` now contains raw offset in input stream instead of `SourcePos`. `errorPos` was dropped from `Text.Megaparsec.Error`. * `ParseError` is now parametrized over stream type `s` instead of token type `t`. * Introduced `ParseErrorBundle` which contains one or more `ParseError` equipped with all information that is necessary to pretty-print them together with offending lines from the input stream. Functions like `runParser` now return `ParseErrorBundle` instead of plain `ParseError`. By default there will be only one `ParseError` in such a bundle, but it's possible to add more parse errors to a bundle manually. During pretty-printing, the input stream will be traversed only once. * The primary function for pretty-printing of parse errors—`errorBundlePretty` always prints offending lines now. `parseErrorPretty` is still there, but it probably won't see a lot of use from now on. `parseErrorPretty'` and `parseErrorPretty_` were removed. `parseTest'` was removed because `parseTest` always prints offending lines now. * Added `attachSourcePos` function in `Text.Megaparsec.Error`. * The `ShowToken` type class has been removed and its method `showTokens` now lives in the `Stream` type class. * The `LineToken` type class is no longer necessary because the new method `reachOffset` of the type class `Stream` does its job. * In `Text.Megaparsec.Error` the following functions were added: `mapParseError`, `errorOffset`. * Implemented continuous highlighting in parse errors. For this we added the `errorComponentLen` method to the `ShowErrorComponent` type class. [#]## Parse error builder * The functions `err` and `errFancy` now accept offsets at which the parse errors are expected to have happened, i.e. `Int`s. Thus `posI` and `posN` are no longer necessary and were removed. * `ET` is now parametrized over the type of stream `s` instead of token type `t`. * Combinators like `utoks` and `etoks` now accept chunks of input stream directly, i.e. `Tokens s` instead of `[Token s]` which should be more natural and convenient. * Fri Aug 17 2018 psimons@suse.com - Update Cabal build information to support GHC 8.6.x. * Mon Jul 09 2018 psimons@suse.com - Add megaparsec at version 6.5.0.
/usr/lib64/ghc-8.10.4/megaparsec-8.0.0/Text /usr/lib64/ghc-8.10.4/megaparsec-8.0.0/Text/Megaparsec /usr/lib64/ghc-8.10.4/megaparsec-8.0.0/Text/Megaparsec.dyn_hi /usr/lib64/ghc-8.10.4/megaparsec-8.0.0/Text/Megaparsec.hi /usr/lib64/ghc-8.10.4/megaparsec-8.0.0/Text/Megaparsec.p_hi /usr/lib64/ghc-8.10.4/megaparsec-8.0.0/Text/Megaparsec/Byte /usr/lib64/ghc-8.10.4/megaparsec-8.0.0/Text/Megaparsec/Byte.dyn_hi /usr/lib64/ghc-8.10.4/megaparsec-8.0.0/Text/Megaparsec/Byte.hi /usr/lib64/ghc-8.10.4/megaparsec-8.0.0/Text/Megaparsec/Byte.p_hi /usr/lib64/ghc-8.10.4/megaparsec-8.0.0/Text/Megaparsec/Byte/Lexer.dyn_hi /usr/lib64/ghc-8.10.4/megaparsec-8.0.0/Text/Megaparsec/Byte/Lexer.hi /usr/lib64/ghc-8.10.4/megaparsec-8.0.0/Text/Megaparsec/Byte/Lexer.p_hi /usr/lib64/ghc-8.10.4/megaparsec-8.0.0/Text/Megaparsec/Char /usr/lib64/ghc-8.10.4/megaparsec-8.0.0/Text/Megaparsec/Char.dyn_hi /usr/lib64/ghc-8.10.4/megaparsec-8.0.0/Text/Megaparsec/Char.hi /usr/lib64/ghc-8.10.4/megaparsec-8.0.0/Text/Megaparsec/Char.p_hi /usr/lib64/ghc-8.10.4/megaparsec-8.0.0/Text/Megaparsec/Char/Lexer.dyn_hi /usr/lib64/ghc-8.10.4/megaparsec-8.0.0/Text/Megaparsec/Char/Lexer.hi /usr/lib64/ghc-8.10.4/megaparsec-8.0.0/Text/Megaparsec/Char/Lexer.p_hi /usr/lib64/ghc-8.10.4/megaparsec-8.0.0/Text/Megaparsec/Class.dyn_hi /usr/lib64/ghc-8.10.4/megaparsec-8.0.0/Text/Megaparsec/Class.hi /usr/lib64/ghc-8.10.4/megaparsec-8.0.0/Text/Megaparsec/Class.p_hi /usr/lib64/ghc-8.10.4/megaparsec-8.0.0/Text/Megaparsec/Common.dyn_hi /usr/lib64/ghc-8.10.4/megaparsec-8.0.0/Text/Megaparsec/Common.hi /usr/lib64/ghc-8.10.4/megaparsec-8.0.0/Text/Megaparsec/Common.p_hi /usr/lib64/ghc-8.10.4/megaparsec-8.0.0/Text/Megaparsec/Debug.dyn_hi /usr/lib64/ghc-8.10.4/megaparsec-8.0.0/Text/Megaparsec/Debug.hi /usr/lib64/ghc-8.10.4/megaparsec-8.0.0/Text/Megaparsec/Debug.p_hi /usr/lib64/ghc-8.10.4/megaparsec-8.0.0/Text/Megaparsec/Error /usr/lib64/ghc-8.10.4/megaparsec-8.0.0/Text/Megaparsec/Error.dyn_hi /usr/lib64/ghc-8.10.4/megaparsec-8.0.0/Text/Megaparsec/Error.hi /usr/lib64/ghc-8.10.4/megaparsec-8.0.0/Text/Megaparsec/Error.p_hi /usr/lib64/ghc-8.10.4/megaparsec-8.0.0/Text/Megaparsec/Error/Builder.dyn_hi /usr/lib64/ghc-8.10.4/megaparsec-8.0.0/Text/Megaparsec/Error/Builder.hi /usr/lib64/ghc-8.10.4/megaparsec-8.0.0/Text/Megaparsec/Error/Builder.p_hi /usr/lib64/ghc-8.10.4/megaparsec-8.0.0/Text/Megaparsec/Internal.dyn_hi /usr/lib64/ghc-8.10.4/megaparsec-8.0.0/Text/Megaparsec/Internal.hi /usr/lib64/ghc-8.10.4/megaparsec-8.0.0/Text/Megaparsec/Internal.p_hi /usr/lib64/ghc-8.10.4/megaparsec-8.0.0/Text/Megaparsec/Lexer.dyn_hi /usr/lib64/ghc-8.10.4/megaparsec-8.0.0/Text/Megaparsec/Lexer.hi /usr/lib64/ghc-8.10.4/megaparsec-8.0.0/Text/Megaparsec/Lexer.p_hi /usr/lib64/ghc-8.10.4/megaparsec-8.0.0/Text/Megaparsec/Pos.dyn_hi /usr/lib64/ghc-8.10.4/megaparsec-8.0.0/Text/Megaparsec/Pos.hi /usr/lib64/ghc-8.10.4/megaparsec-8.0.0/Text/Megaparsec/Pos.p_hi /usr/lib64/ghc-8.10.4/megaparsec-8.0.0/Text/Megaparsec/State.dyn_hi /usr/lib64/ghc-8.10.4/megaparsec-8.0.0/Text/Megaparsec/State.hi /usr/lib64/ghc-8.10.4/megaparsec-8.0.0/Text/Megaparsec/State.p_hi /usr/lib64/ghc-8.10.4/megaparsec-8.0.0/Text/Megaparsec/Stream.dyn_hi /usr/lib64/ghc-8.10.4/megaparsec-8.0.0/Text/Megaparsec/Stream.hi /usr/lib64/ghc-8.10.4/megaparsec-8.0.0/Text/Megaparsec/Stream.p_hi /usr/lib64/ghc-8.10.4/megaparsec-8.0.0/libHSmegaparsec-8.0.0-8eRdouAMUJkAo16UWdXRG.a /usr/lib64/ghc-8.10.4/megaparsec-8.0.0/libHSmegaparsec-8.0.0-8eRdouAMUJkAo16UWdXRG_p.a /usr/lib64/ghc-8.10.4/package.conf.d/megaparsec-8.0.0.conf /usr/share/doc/ghc-8.10.4/html/libraries/megaparsec-8.0.0 /usr/share/doc/ghc-8.10.4/html/libraries/megaparsec-8.0.0/CHANGELOG.md /usr/share/doc/ghc-8.10.4/html/libraries/megaparsec-8.0.0/README.md /usr/share/doc/ghc-8.10.4/html/libraries/megaparsec-8.0.0/Text-Megaparsec-Byte-Lexer.html /usr/share/doc/ghc-8.10.4/html/libraries/megaparsec-8.0.0/Text-Megaparsec-Byte.html /usr/share/doc/ghc-8.10.4/html/libraries/megaparsec-8.0.0/Text-Megaparsec-Char-Lexer.html /usr/share/doc/ghc-8.10.4/html/libraries/megaparsec-8.0.0/Text-Megaparsec-Char.html /usr/share/doc/ghc-8.10.4/html/libraries/megaparsec-8.0.0/Text-Megaparsec-Debug.html /usr/share/doc/ghc-8.10.4/html/libraries/megaparsec-8.0.0/Text-Megaparsec-Error-Builder.html /usr/share/doc/ghc-8.10.4/html/libraries/megaparsec-8.0.0/Text-Megaparsec-Error.html /usr/share/doc/ghc-8.10.4/html/libraries/megaparsec-8.0.0/Text-Megaparsec-Internal.html /usr/share/doc/ghc-8.10.4/html/libraries/megaparsec-8.0.0/Text-Megaparsec-Pos.html /usr/share/doc/ghc-8.10.4/html/libraries/megaparsec-8.0.0/Text-Megaparsec-Stream.html /usr/share/doc/ghc-8.10.4/html/libraries/megaparsec-8.0.0/Text-Megaparsec.html /usr/share/doc/ghc-8.10.4/html/libraries/megaparsec-8.0.0/doc-index-60.html /usr/share/doc/ghc-8.10.4/html/libraries/megaparsec-8.0.0/doc-index-A.html /usr/share/doc/ghc-8.10.4/html/libraries/megaparsec-8.0.0/doc-index-All.html /usr/share/doc/ghc-8.10.4/html/libraries/megaparsec-8.0.0/doc-index-B.html /usr/share/doc/ghc-8.10.4/html/libraries/megaparsec-8.0.0/doc-index-C.html /usr/share/doc/ghc-8.10.4/html/libraries/megaparsec-8.0.0/doc-index-D.html /usr/share/doc/ghc-8.10.4/html/libraries/megaparsec-8.0.0/doc-index-E.html /usr/share/doc/ghc-8.10.4/html/libraries/megaparsec-8.0.0/doc-index-F.html /usr/share/doc/ghc-8.10.4/html/libraries/megaparsec-8.0.0/doc-index-G.html /usr/share/doc/ghc-8.10.4/html/libraries/megaparsec-8.0.0/doc-index-H.html /usr/share/doc/ghc-8.10.4/html/libraries/megaparsec-8.0.0/doc-index-I.html /usr/share/doc/ghc-8.10.4/html/libraries/megaparsec-8.0.0/doc-index-L.html /usr/share/doc/ghc-8.10.4/html/libraries/megaparsec-8.0.0/doc-index-M.html /usr/share/doc/ghc-8.10.4/html/libraries/megaparsec-8.0.0/doc-index-N.html /usr/share/doc/ghc-8.10.4/html/libraries/megaparsec-8.0.0/doc-index-O.html /usr/share/doc/ghc-8.10.4/html/libraries/megaparsec-8.0.0/doc-index-P.html /usr/share/doc/ghc-8.10.4/html/libraries/megaparsec-8.0.0/doc-index-R.html /usr/share/doc/ghc-8.10.4/html/libraries/megaparsec-8.0.0/doc-index-S.html /usr/share/doc/ghc-8.10.4/html/libraries/megaparsec-8.0.0/doc-index-T.html /usr/share/doc/ghc-8.10.4/html/libraries/megaparsec-8.0.0/doc-index-U.html /usr/share/doc/ghc-8.10.4/html/libraries/megaparsec-8.0.0/doc-index-V.html /usr/share/doc/ghc-8.10.4/html/libraries/megaparsec-8.0.0/doc-index-W.html /usr/share/doc/ghc-8.10.4/html/libraries/megaparsec-8.0.0/doc-index.html /usr/share/doc/ghc-8.10.4/html/libraries/megaparsec-8.0.0/haddock-bundle.min.js /usr/share/doc/ghc-8.10.4/html/libraries/megaparsec-8.0.0/index.html /usr/share/doc/ghc-8.10.4/html/libraries/megaparsec-8.0.0/linuwial.css /usr/share/doc/ghc-8.10.4/html/libraries/megaparsec-8.0.0/megaparsec.haddock /usr/share/doc/ghc-8.10.4/html/libraries/megaparsec-8.0.0/megaparsec.txt /usr/share/doc/ghc-8.10.4/html/libraries/megaparsec-8.0.0/meta.json /usr/share/doc/ghc-8.10.4/html/libraries/megaparsec-8.0.0/quick-jump.css /usr/share/doc/ghc-8.10.4/html/libraries/megaparsec-8.0.0/src /usr/share/doc/ghc-8.10.4/html/libraries/megaparsec-8.0.0/src/Text.Megaparsec.Byte.Lexer.html /usr/share/doc/ghc-8.10.4/html/libraries/megaparsec-8.0.0/src/Text.Megaparsec.Byte.html /usr/share/doc/ghc-8.10.4/html/libraries/megaparsec-8.0.0/src/Text.Megaparsec.Char.Lexer.html /usr/share/doc/ghc-8.10.4/html/libraries/megaparsec-8.0.0/src/Text.Megaparsec.Char.html /usr/share/doc/ghc-8.10.4/html/libraries/megaparsec-8.0.0/src/Text.Megaparsec.Class.html /usr/share/doc/ghc-8.10.4/html/libraries/megaparsec-8.0.0/src/Text.Megaparsec.Common.html /usr/share/doc/ghc-8.10.4/html/libraries/megaparsec-8.0.0/src/Text.Megaparsec.Debug.html /usr/share/doc/ghc-8.10.4/html/libraries/megaparsec-8.0.0/src/Text.Megaparsec.Error.Builder.html /usr/share/doc/ghc-8.10.4/html/libraries/megaparsec-8.0.0/src/Text.Megaparsec.Error.html /usr/share/doc/ghc-8.10.4/html/libraries/megaparsec-8.0.0/src/Text.Megaparsec.Internal.html /usr/share/doc/ghc-8.10.4/html/libraries/megaparsec-8.0.0/src/Text.Megaparsec.Lexer.html /usr/share/doc/ghc-8.10.4/html/libraries/megaparsec-8.0.0/src/Text.Megaparsec.Pos.html /usr/share/doc/ghc-8.10.4/html/libraries/megaparsec-8.0.0/src/Text.Megaparsec.State.html /usr/share/doc/ghc-8.10.4/html/libraries/megaparsec-8.0.0/src/Text.Megaparsec.Stream.html /usr/share/doc/ghc-8.10.4/html/libraries/megaparsec-8.0.0/src/Text.Megaparsec.html /usr/share/doc/ghc-8.10.4/html/libraries/megaparsec-8.0.0/src/highlight.js /usr/share/doc/ghc-8.10.4/html/libraries/megaparsec-8.0.0/src/style.css /usr/share/doc/ghc-8.10.4/html/libraries/megaparsec-8.0.0/synopsis.png /usr/share/doc/packages/ghc-megaparsec-devel /usr/share/doc/packages/ghc-megaparsec-devel/CHANGELOG.md /usr/share/doc/packages/ghc-megaparsec-devel/README.md
Generated by rpm2html 1.8.1
Fabrice Bellet, Tue Jul 9 13:54:43 2024