Utility functions for testing Megaparsec parsers with Hspec


Version on this page:0.2.1@rev:2
LTS Haskell 21.23:2.2.1
Stackage Nightly 2023-12-07:2.2.1
Latest on Hackage:2.2.1

See all snapshots hspec-megaparsec appears in

BSD-3-Clause licensed and maintained by Mark Karpov
This version can be pinned in stack with:hspec-megaparsec-0.2.1@sha256:6da45ba059597259f057ddbfeb7b852beccd3476a21f7e0e2e68ced36a5668c8,3733

Module documentation for 0.2.1

Hspec Megaparsec

License BSD3 Hackage Stackage Nightly Stackage LTS Build Status Coverage Status

The package provides utilities for testing Megaparsec parsers with with Hspec.

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


Copyright © 2016 Mark Karpov

Distributed under BSD 3 clause license.


Hspec Megaparsec 0.2.1

  • Refreshed obsolete documentation for shouldFailWith and how it reports not matching parse errors.

Hspec Megaparsec 0.2.0

  • This version of hspec-megaparsec should be used with Megaparsec 5.

Hspec Megaparsec 0.1.1

  • Make it pass tests with Megaparsec 4.4.0 and later.

Hspec Megaparsec 0.1.0

  • Initial release.