Upgrade to GHC v9.4.4, text v2.0.1
Text does not work with GHC v9.4.3
Test
- exitcode-stdio-1.0 instead of detailed-0.9
- HSpec instead of Cabal Distribution.TestSuite
Add Replace.Attoparsec.Text.Lazy
Deprecate findAll and findAllCap.
Bugfix sepCap backtracking when sep fails
See replace-megaparsec/issues/33
Running Parsers: Add splitCap and breakCap.
Parser Combinators: Add anyTill.
Benchmark improvements
Specializations of the sepCap function, guided by
replace-benchmark.
| Program | dense | sparse |
|---|---|---|
Replace.Attoparsec.ByteString.streamEdit |
394.12ms | 41.13ms |
Replace.Attoparsec.Text.streamEdit |
515.26ms | 46.10ms |
| Program | dense | sparse |
|---|---|---|
Replace.Attoparsec.ByteString.streamEdit |
537.57ms | 407.33ms |
Replace.Attoparsec.Text.streamEdit |
549.62ms | 280.96ms |
Also don't export getOffset anymore. It's too complicated to explain
what it means for Text. If users want to know positional parsing information
then they should use Megaparsec.
- First version.