foldl in choice
Closed this issue · 1 comments
newlandsvalley commented
Is there a reason why the choice combinator favours foldl over foldr? It means, I think, that if you want to resolve any ambiguities in a grammar between options you must list them in reverse order. (It's just not what I was expecting.)
newlandsvalley commented
Oops. I don't think this is a problem any longer - I was confused because I was translating an Elm project where the combinator library didn't implement try and so presumably backtracked by default.