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]
Versions [faq] 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
Change log CHANGELOG.md
Dependencies base (>=4.8 && <5.0), containers (>=0.5 && <0.7), hspec-expectations (==0.8.*), megaparsec (>=7.0 && <8.0), semigroups (==0.18.*) [details]
License BSD-3-Clause
Author Mark Karpov <markkarpov92@gmail.com>
Maintainer Mark Karpov <markkarpov92@gmail.com>
Revised Revision 1 made by mrkkrp at Tue Sep 25 05:00:32 UTC 2018
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 Wed Sep 5 15:37:38 UTC 2018
Distributions Arch:2.0.0, LTSHaskell:2.0.0, NixOS:2.0.0, Stackage:2.0.0
Downloads 4674 total (117 in the last 30 days)
Rating (no votes yet) [estimated by rule of succession]
Your Rating
  • λ
  • λ
  • λ
Status Hackage Matrix CI
Docs available [build log]
Last success reported on 2018-09-05 [all 1 reports]


[Index] [Quick Jump]



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

For package maintainers and hackage trustees

Readme for hspec-megaparsec-2.0.0

[back to package description]

Hspec Megaparsec

License BSD3 Hackage Stackage Nightly Stackage LTS Build Status

The package is the recommended library for testing Megaparsec parsers with with Hspec. As of Megaparsec 5.1.0, its test suite is re-written with Hspec and this package with a few ad-hoc helpers.

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


Copyright © 2016–2018 Mark Karpov

Distributed under BSD 3 clause license.