-
Changed the
Control.Applicative.Permutations
module to only requireApplicative
and notMonad
. This module is the least restrictive and works with parsers which are notMonad
s. -
Added the
Control.Monad.Permutations
module. This module may be substantially more efficient for some parsers which areMonad
s. -
Corrected how permutation parsers intercalate effects and components; parsing an effect requires that a component immediately follows or else a parse error will result.
-
The tests in
parser-combinators-tests
now work with Megaparsec 8. -
Dropped support for GHC 8.2.
-
Added
manyTill_
andsomeTill_
combinators which work like the oldermanyTill
andsomeTill
except they also return the result of theend
parser. -
Dropped support for GHC 8.0.
- Added support for ternary operators; see
TernR
inControl.Monad.Combinators.Expr
.
-
Dropped support for GHC 7.10.
-
Added a test suite as a separate package called
parser-combinators-tests
.
-
Defined
liftA2
forPermutation
manually. The new definition should be more efficient. -
Made inner
Maybe
field inPermutation
strict.
- Cosmetic changes in the source code.
-
Added the
Control.Monad.Combinators.Expr
module. -
Dropped the compatibility operators
(<$$>)
,(<$?>)
,(<||>)
, and(<|?>)
fromControl.Applicative.Permutations
. -
Dropped support for GHCs older than 7.10.
-
Improved the documentation.
-
Re-exported
Control.Applicative.empty
fromControl.Applicative.Combinators
. -
Added the
Control.Monad.Combinators
andControl.Monad.Combinators.NonEmpty
modules which contain more efficient versions of the combinators fromControl.Applicative.Combinators
andControl.Applicative.Combinators.NonEmpty
respectively.
-
Added the
skipCount
combinator. -
Improved algorithmic efficiency of the
count'
combinator.
- Removed the byte order marking at the beginning of the
Control.Applicative.Permutations
module.
-
Added
Control.Applicative.Combinators.NonEmpty
module that exports non-empty list versions of combinators that cannot return empty lists. -
Added
Control.Applicative.Permutations
module that provides generalized permutation parser combinators.
- Initial release.