wrengr / bytestring-lexing

Efficiently parse and produce common lexemes: namely integral and fractional numbers.
Other
6 stars 4 forks source link

Native support for bytestring >=0.11 #11

Open wrengr opened 2 years ago

wrengr commented 2 years ago

bytestring-0.11.0.0 (September 2020) removed the offset parameter to the ByteString data constructor: https://github.com/haskell/bytestring/pull/175 . They provide a PS pattern-synonym for backward compatibility (https://github.com/haskell/bytestring/blob/master/Changelog.md) and while CI indicates that's sufficient for now, we should surely update things to use the new internal representation directly.