[<<][haskell][>>][..]
Mon Dec 4 19:53:57 EST 2017

Parsec <|> is predictive

    "For reasons of speed, the (<|>) combinator is predictive; it will
    only try its second alternative if the first parser hasn't
    consumed any input."

    "The preferred solution to this problem is to left-factor the
    grammar by merging common prefixes."

http://legacy.cs.uu.nl/daan/download/parsec/parsec.html



[Reply][About]
[<<][haskell][>>][..]