DEV Community

Sameer
Sameer

Posted on

Answer:

This happens, because manySatisfy matches zero or more characters that satisfy the given predicate, the key word being "zero". This means that, at the very end of input, isSeparator actually succeeds, even though it doesn't consume any characters. And since isSeparator succeeds, sepBy is expecting to find another instance of…

Top comments (0)