megaparsec/tests
mrkkrp 455bfa3076 major improvements of ‘Text.Megaparsec.Prim’
* Removed ‘optionMaybe’ parser, because ‘optional’ from
  ‘Control.Applicative’ does the same thing.

* Renamed ‘tokenPrim’ → ‘token’, removed old ‘token’, because
  ‘tokenPrim’ is more general and ‘token’ is little used.

* Fixed bug with ‘notFollowedBy’ always succeeded with parsers that
  don't consume input, see #6.

* Hint system introduced that greatly improved quality of error messages
  and made code of ‘Text.Megaparsec.Prim’ a lot clearer.

The improvements affected other modules too:

* Some parsers from ‘Text.Megaparsec.Combinators’ now live in
  ‘Text.Megaparsec.Prim’.

* Hint system improved error messages, so I needed to rewrite test for
  ‘Text.Megaparsec.Char.eol’, since it's error messages are very
  intelligent now and cannot be emulated by ‘newline’ and ‘crlf’ parsers
  used separately.

* Test for Bug9 from old-tests is passed successfully again.
2015-08-17 21:58:59 +06:00
..
Char.hs major improvements of ‘Text.Megaparsec.Prim’ 2015-08-17 21:58:59 +06:00
Combinator.hs some tests written 2015-08-03 13:19:23 +06:00
Error.hs cosmetic changes (indentation, etc) 2015-08-13 00:02:49 +06:00
Expr.hs some tests written 2015-08-03 13:19:23 +06:00
Main.hs some tests written 2015-08-03 13:19:23 +06:00
Perm.hs some tests written 2015-08-03 13:19:23 +06:00
Pos.hs cosmetic changes (indentation, etc) 2015-08-13 00:02:49 +06:00
Prim.hs some tests written 2015-08-03 13:19:23 +06:00
Token.hs some tests written 2015-08-03 13:19:23 +06:00
Util.hs cosmetic changes (indentation, etc) 2015-08-13 00:02:49 +06:00