[Haskell-cafe] The 13-line example in Text.Megaparsec.Expr
ozgurakgun at gmail.com
Mon Feb 29 10:05:11 UTC 2016
On 29 February 2016 at 08:22, Stephen Tetley <stephen.tetley at gmail.com>
> For the expression parser, Megaparsec's documentation is wrong[*] and
> probably it should use symbol rather than reservedOp. Note that symbol
> is slightly different in Megaparsec as it's a plain combinator (rather
> than one instantiated from a first class module as in Parsec) so it
> takes two args rather than one.
> [*] Well, likely wrong - I haven't got round to using Megaparsec yet.
You are right:
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Haskell-Cafe