mrkkrp
45f449ddb2
prefer longest match in ‘mergeError’, fixes #23
...
Since ‘mergeError’ is only used to merge errors from alternative
branches of parsing, longest match should be preferred.
2015-08-24 01:45:12 +06:00
mrkkrp
287a777e6c
cosmetic changes (indentation, etc)
2015-08-13 00:02:49 +06:00
mrkkrp
c13ca493ae
experimental branch with different Messages
2015-08-11 18:15:02 +06:00
mrkkrp
bb074cc52b
fixed a regression in ‘Text.Megaparsec.Error’
...
I've improved tests so this sort of bug won't appear in future.
2015-08-11 03:19:16 +06:00
mrkkrp
dedbe7a897
fix regression in ‘setErrorMessage’, add tests
...
New tests shows that I had wrong assumption about workings of this
particular function. This is not a problem, though, complete test-suite
will eliminate this sort of nuisance soon.
2015-08-09 00:38:30 +06:00
mrkkrp
eb8fdcce2f
tests for ‘Text.Megaparsec.Error’
2015-08-03 23:44:11 +06:00
mrkkrp
866bcdec58
some tests written
2015-08-03 13:19:23 +06:00