packages feed

parsix 0.2.1.0 → 0.2.2.0

raw patch · 3 files changed

+6/−2 lines, 3 filesPVP ok

version bump matches the API change (PVP)

API changes (from Hackage documentation)

Files

CHANGELOG.md view
@@ -1,3 +1,7 @@+# 0.2.2.0++- Fix bug in `lookAhead`, where lookaheads would commit the parser+ # 0.2.1.0  - Add `Monoid` and `Semigroup` instances to `Position`
parsix.cabal view
@@ -1,5 +1,5 @@ name:                parsix-version:             0.2.1.0+version:             0.2.2.0 synopsis:            Parser combinators with slicing, error recovery, and syntax highlighting description:         A parser combinator library based on 'parsers' (like 'trifecta') with slicing, error recovery, and syntax highlighted diagnostics homepage:            https://github.com/ollef/parsix
src/Text/Parsix/Parser/Internal.hs view
@@ -163,7 +163,7 @@  instance LookAheadParsing Parser where   lookAhead (Parser p) = Parser-    $ \s0 s e0 e pos -> p s0 (\a _ _ -> s a mempty pos) e0 e pos+    $ \s0 _ e0 e pos -> p s0 (\a err _pos _hl -> s0 a err) e0 e pos  runParser   :: Parser a