megaparsec/tests
mrkkrp dcc53ad0b7 improved error messages for labelled ‘many’
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.
2015-09-22 15:09:40 +06:00
..
Char.hs added more case-insensitive character parsers 2015-09-06 15:17:37 +06:00
Combinator.hs swap ‘count’ and ‘count'’ 2015-08-25 15:55:57 +06:00
Error.hs prefer longest match in ‘mergeError’, fixes #23 2015-08-24 01:45:12 +06:00
Expr.hs minor changes in tests to make them compile 2015-09-18 15:41:18 +06:00
Lexer.hs improved error messages for labelled ‘many’ 2015-09-22 15:09:40 +06:00
Main.hs renamed ‘Text.Megaparsec.Token’ module 2015-08-30 16:00:07 +06:00
Perm.hs some tests for ‘Text.Megaparsec.Perm’ 2015-08-24 14:01:54 +06:00
Pos.hs cosmetic changes (indentation, etc) 2015-08-13 00:02:49 +06:00
Prim.hs improved error messages for labelled ‘many’ 2015-09-22 15:09:40 +06:00
Util.hs added new parser ‘string'’ 2015-09-04 18:12:59 +06:00