j-mie6 / parsley

A fast and modern parser combinator library for Scala
https://j-mie6.github.io/parsley/
BSD 3-Clause "New" or "Revised" License
173 stars 15 forks source link

`reduce` combinator #238

Open j-mie6 opened 3 months ago

j-mie6 commented 3 months ago

We have reduceLeft and reduceRight (and their Option equivalents), but not a basic reduce -- this might be worthwhile adding.