mirror of
https://github.com/mrkkrp/megaparsec.git
synced 2024-12-18 13:51:58 +03:00
4e8a1c298a
Multi-character operators should use ‘try’ in order to be reported correctly (as “operator”). I've mentioned it in doc-string of ‘makeExprParser’. It's tempting to include ‘try’ directly in expression parsing code, but following general spirit of Parsec toward ‘try’, I think current solution is the best. |
||
---|---|---|
.. | ||
ByteString | ||
Text | ||
ByteString.hs | ||
Char.hs | ||
Combinator.hs | ||
Error.hs | ||
Expr.hs | ||
Lexer.hs | ||
Perm.hs | ||
Pos.hs | ||
Prim.hs | ||
ShowToken.hs | ||
String.hs | ||
Text.hs |