megaparsec/Text/Megaparsec
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
..
ByteString cosmetic changes (indentation, etc) 2015-08-13 00:02:49 +06:00
Text cosmetic changes (indentation, etc) 2015-08-13 00:02:49 +06:00
ByteString.hs cosmetic changes (indentation, etc) 2015-08-13 00:02:49 +06:00
Char.hs major improvements of ‘Text.Megaparsec.Prim’ 2015-08-17 21:58:59 +06:00
Combinator.hs major improvements of ‘Text.Megaparsec.Prim’ 2015-08-17 21:58:59 +06:00
Error.hs cosmetic changes (indentation, etc) 2015-08-13 00:02:49 +06:00
Expr.hs cosmetic changes (indentation, etc) 2015-08-13 00:02:49 +06:00
Language.hs cosmetic changes (indentation, etc) 2015-08-13 00:02:49 +06:00
Perm.hs cosmetic changes (indentation, etc) 2015-08-13 00:02:49 +06:00
Pos.hs cosmetic changes (indentation, etc) 2015-08-13 00:02:49 +06:00
Prim.hs major improvements of ‘Text.Megaparsec.Prim’ 2015-08-17 21:58:59 +06:00
ShowToken.hs cosmetic changes (indentation, etc) 2015-08-13 00:02:49 +06:00
String.hs cosmetic changes (indentation, etc) 2015-08-13 00:02:49 +06:00
Text.hs cosmetic changes (indentation, etc) 2015-08-13 00:02:49 +06:00
Token.hs cosmetic changes (indentation, etc) 2015-08-13 00:02:49 +06:00