Skip to content
  • gershomb's avatar
    Add parserTrace and parserTraced functions (#85) · 98242343
    gershomb authored and Herbert Valerio Riedel's avatar Herbert Valerio Riedel committed
    `parserTrace label` is an impure function, implemented with "Debug.Trace" that
    prints to the console the remaining parser state at the time it is invoked.
    It is intended to be used for debugging parsers by inspecting their intermediate states.
    
    These are simple yet helpful helpers for debugging Parsec parsers.
    
    Closes #63
    98242343