parser-combinators 1.2.0 → 1.2.1
raw patch · 5 files changed
+14/−5 lines, 5 filesdep ~base
Dependency ranges changed: base
Files
- CHANGELOG.md +6/−0
- Control/Applicative/Combinators.hs +2/−0
- Control/Monad/Combinators.hs +2/−0
- README.md +1/−1
- parser-combinators.cabal +3/−4
CHANGELOG.md view
@@ -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
Control/Applicative/Combinators.hs view
@@ -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]
Control/Monad/Combinators.hs view
@@ -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]
README.md view
@@ -16,7 +16,7 @@ Issues, bugs, and questions may be reported in [the GitHub issue tracker for this project](https://github.com/mrkkrp/parser-combinators/issues). -Pull requests are also welcome and will be reviewed quickly.+Pull requests are also welcome. ## License
parser-combinators.cabal view
@@ -1,7 +1,7 @@ name: parser-combinators-version: 1.2.0+version: 1.2.1 cabal-version: 1.18-tested-with: GHC==8.2.2, GHC==8.4.4, GHC==8.6.5+tested-with: GHC==8.4.4, GHC==8.6.5, GHC==8.8.1 license: BSD3 license-file: LICENSE.md author: Mark Karpov <markkarpov92@gmail.com>@@ -26,7 +26,7 @@ default: False library- build-depends: base >= 4.10 && < 5.0+ build-depends: base >= 4.11 && < 5.0 exposed-modules: Control.Applicative.Combinators , Control.Applicative.Combinators.NonEmpty , Control.Applicative.Permutations@@ -42,5 +42,4 @@ -Wincomplete-record-updates -Wincomplete-uni-patterns -Wnoncanonical-monad-instances- -Wnoncanonical-monadfail-instances default-language: Haskell2010