megaparsec icon indicating copy to clipboard operation
megaparsec copied to clipboard

Add a new primitive: 'scanP'

Open mrkkrp opened this issue 5 years ago • 1 comments

Attoparsec has it: https://hackage.haskell.org/package/attoparsec-0.13.2.2/docs/Data-Attoparsec-Text.html#v:scan.

mrkkrp avatar Aug 20 '18 16:08 mrkkrp

I'm going to not include it in version 8, because 1) it further increases the number of primitive parsers 2) there are no requests for this feature, so it makes sense to assume that it's not so necessary.

mrkkrp avatar Jul 19 '19 19:07 mrkkrp

Closing, since #514 now makes it possible to define new primitives as needed.

mrkkrp avatar Jun 11 '23 17:06 mrkkrp