- Maintenance release with more modern and minimal dependencies.
- Works with Megaparsec 9.
-
Works with Megaparsec 8.
-
Dropped support for GHC 8.2.
-
Adjusted
shouldParse
to useshouldBe
fromhspec
under the hood to take advantage of its pretty colorful error reporting. -
Dropped support for GHC 8.0 and older.
-
To be used with Megaparsec 7.
-
Added functions:
shouldFailWithM
andinitialPosState
. -
Dropped support for GHC 7.8.
- Add
HasCallStack
constraint to combinators to improve detection of locations where test failures happen.
- To be used with Megaparsec 6.
-
Support for Megaparsec 5.2.0.
-
Drop support for GHC 7.6.
- Added helpers for parse error construction (useful with
shouldFailWith
):err
,posI
,posN
,utok
,utoks
,ulabel
,ueof
,etok
,etoks
,elabel
,eeof
,cstm
. Also added an auxiliary typeEC
.
- Refreshed obsolete documentation for
shouldFailWith
and how it reports not matching parse errors.
- This version of
hspec-megaparsec
should be used with Megaparsec 5.
- Make it pass tests with Megaparsec 4.4.0 and later.
- Initial release.