mirror of
https://github.com/mrkkrp/megaparsec.git
synced 2024-12-25 09:12:29 +03:00
dcc53ad0b7
Closes #35. Since ‘many’ (and thus ‘some’) are the only combinator that can succeed consuming input and produce hints at the same time we can conclude that ‘cok'’ continuation in ‘pLabel’ combinator is only called when ‘many’ is labelled. By correcting label in this case prepending the phrase “rest of ” to actual label we can greatly improve result error message. |
||
---|---|---|
.. | ||
Char.hs | ||
Combinator.hs | ||
Error.hs | ||
Expr.hs | ||
Lexer.hs | ||
Main.hs | ||
Perm.hs | ||
Pos.hs | ||
Prim.hs | ||
Util.hs |