bodil.github.com icon indicating copy to clipboard operation
bodil.github.com copied to clipboard

Fix code of pair parser combinator to pass the tests

Open mira01 opened this issue 5 years ago • 0 comments

There is a bug in pair parser combinator that causes introduced tests to fail. The problem is that when the first parser successfully parses the input and the second doesn't, the combinator returns the error representing the input of the second parser not the input of the whole pair combinator.

mira01 avatar Oct 01 '20 12:10 mira01