hspec-megaparsec: Utility functions for testing Megaparsec parsers with Hspec

[ bsd3, library, parsing, testing ] [ Propose Tags ]

Utility functions for testing Megaparsec parsers with Hspec.

[Skip to Readme]


Manual Flags


Turn on development settings.


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


Maintainer's Corner

Package maintainers

For package maintainers and hackage trustees


  • No Candidates
Versions [RSS] 0.1.0, 0.1.1, 0.2.0, 0.2.1, 0.3.0, 0.3.1, 1.0.0, 1.1.0, 2.0.0, 2.0.1, 2.1.0, 2.2.0, 2.2.1
Change log CHANGELOG.md
Dependencies base (>=4.15 && <5), hspec-expectations (>=0.8 && <0.9), megaparsec (>=9 && <10) [details]
License BSD-3-Clause
Author Mark Karpov <markkarpov92@gmail.com>
Maintainer Mark Karpov <markkarpov92@gmail.com>
Category Testing, Parsing
Home page https://github.com/mrkkrp/hspec-megaparsec
Bug tracker https://github.com/mrkkrp/hspec-megaparsec/issues
Source repo head: git clone https://github.com/mrkkrp/hspec-megaparsec.git
Uploaded by mrkkrp at 2023-10-24T18:24:32Z
Distributions Arch:2.2.1, Fedora:2.2.0, LTSHaskell:2.2.1, NixOS:2.2.1, Stackage:2.2.1
Reverse Dependencies 4 direct, 0 indirect [details]
Downloads 12564 total (101 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-10-24 [all 1 reports]

Readme for hspec-megaparsec-2.2.1

[back to package description]

Hspec Megaparsec

License BSD3 Hackage Stackage Nightly Stackage LTS CI

The package is the recommended library for testing Megaparsec parsers with with Hspec.

Consult the Haddocks for usage, which should be trivial. Also see test suite of this package or Megaparsec test suite.


Issues, bugs, and questions may be reported in the GitHub issue tracker for this project.

Pull requests are also welcome.


Copyright © 2016–present Mark Karpov

Distributed under BSD 3 clause license.