pointfreeco / swift-parsing

A library for turning nebulous data into well-structured data, with a focus on composition, performance, generality, and ergonomics.
https://www.pointfree.co/collections/parsing
MIT License
864 stars 77 forks source link

FromSubstring ParseBuilder needs Substring as Input #292

Closed KaiOelfke closed 1 year ago

KaiOelfke commented 1 year ago

I'm trying to migrate old Parsing code that wasn't using From(.substring)' etc. Like in #291 the @ParseBuilder should work on the converted input e.g.Substring` for FromSubstring and not on the upstream input.