rowtype-yoga/purescript-parsing-dataview

State position representation

Closed this issue · 1 comments

The Parser.String maintains its position by dropping the consumed portion of the input, rather than using the Position, as we do. We could do likewise.

https://github.com/purescript-contrib/purescript-parsing/blob/e801a0ef42f3211b1602a94a269eef7ce551423f/src/Text/Parsing/Parser/String.purs#L46

No, instead we use the Position {index} in parsing v9.