
29 Feb
2016
29 Feb
'16
5:05 a.m.
On 29 February 2016 at 08:22, Stephen Tetley
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: https://github.com/mrkkrp/megaparsec/commit/750adb7c70392c3195eda12d816f4a1a... -- Özgür Akgün