License | BSD-3-Clause |
---|---|
Maintainer | Jamie Willis |
Stability | stable |
Safe Haskell | Safe-Inferred |
Language | Haskell2010 |
This module contains debugging combinators.
Since: 2.0.0.0
Documentation
:: String | The name that identifies the wrapped parser in the debug trace |
-> Parser a | The parser to track during execution |
-> Parser a |
This combinator can be used to debug parsers that have gone wrong. Simply
wrap a parser with debug name
and when that parser is executed it will
print a debug trace on entry and exit along with the current context of the
input.
Since: 0.1.0.0