Re: [DISCUSS] Lazy findAll, collect, collectMany

2025-04-08 Thread Paul King
In any case, I created a draft PR and some interesting points came up which I think deserve more discussion. https://github.com/apache/groovy/pull/2182 I have marked all of the methods as @Incubating for now, in case we want to merge and tweak later. What's in the PR? I went with the "Lazy"

[DISCUSS] Lazy findAll, collect, collectMany

2025-04-08 Thread Paul King
Hi folks, [I sent this to grails dev list but meant to send it here and CC them for feedback - anyway, it is here now, apologies if you see this twice.] I have been looking at the functionality in Groovy-stream[1] and Gatherers4J[2] lately with a view to filling any gaps in Groovy's iterator DGM