megaparsec-tests: Test utilities and the test suite of Megaparsec

[ bsd2, library, parsing ] [ Propose Tags ]

Test utilities and the test suite of Megaparsec.

[Skip to Readme]


[Index] [Quick Jump]


Manual Flags


Turn on development settings.


Use -f <flag> to enable a flag, or -f -<flag> to disable that flag. More info


Note: This package has metadata revisions in the cabal description newer than included in the tarball. To unpack the package including the revisions, use 'cabal get'.

Maintainer's Corner

Package maintainers

For package maintainers and hackage trustees


  • No Candidates
Versions [RSS] 7.0.5, 8.0.0, 9.0.0, 9.0.1, 9.1.0, 9.2.0, 9.2.1, 9.2.2, 9.3.0, 9.3.1, 9.4.0, 9.4.1, 9.5.0, 9.6.0, 9.6.1
Dependencies base (>=4.15 && <5), bytestring (>=0.2 && <0.13), containers (>=0.5 && <0.8), hspec (>=2 && <3), hspec-megaparsec (>=2 && <3), megaparsec (==9.6.1), mtl (>=2.2.2 && <3), QuickCheck (>=2.10 && <2.16), text (>=0.2 && <2.2), transformers (>=0.4 && <0.7) [details]
License BSD-2-Clause
Author Megaparsec contributors
Maintainer Mark Karpov <>
Revised Revision 1 made by mrkkrp at 2024-04-26T13:03:30Z
Category Parsing
Home page
Bug tracker
Uploaded by mrkkrp at 2023-11-03T13:51:31Z
Distributions LTSHaskell:9.5.0, NixOS:9.5.0, Stackage:9.6.1
Downloads 2428 total (43 in the last 30 days)
Rating (no votes yet) [estimated by Bayesian average]
Your Rating
  • λ
  • λ
  • λ
Status Docs available [build log]
Last success reported on 2023-11-03 [all 1 reports]

Readme for megaparsec-tests-9.6.1

[back to package description]

Megaparsec tests

Megaparsec's test suite as a standalone package. The reason for the separation 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.

The version number of megaparsec-tests will be kept in sync with versions of megaparsec from now on.


Copyright © 2015–present Megaparsec contributors

Distributed under FreeBSD license.