You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Parsing is designed to distinguish between fail with and without data consumed. In particular, the combinators from Parsing.Combinators as well as ones from Data.Array propagate fail if it happens after data was consumed.
Unfortunately, this isn't the case for at least many* combinators from Parsing.Combinators.Array
Describe the bug
Parsing is designed to distinguish between fail with and without data consumed. In particular, the combinators from
Parsing.Combinators
as well as ones fromData.Array
propagate fail if it happens after data was consumed.Unfortunately, this isn't the case for at least
many*
combinators fromParsing.Combinators.Array
To Reproduce
Execute the following code:
Expected behavior
All 4 parses would return
Left
Actual behavior
The
Array
-based parses return successfully:Workarounds
many
fromData.Array
works as expected. However, there isn't analogous function formany1
.The text was updated successfully, but these errors were encountered: