opNext: Simplified ranges

Per Nordlöw per.nordlow at gmail.com
Sun Nov 6 23:05:28 UTC 2022


On Sunday, 6 November 2022 at 22:47:59 UTC, Per Nordlöw wrote:
> On Sunday, 6 November 2022 at 22:32:00 UTC, Sebastiaan Koppe 
> wrote:
>> I also think ranges should be redesigned to have a 2 stage 
>> api. One to build the pipeline, one to iterate.
>
> I don't grasp what you mean. Can you give enlighten me with a 
> show case?

1. Ahh, is this inspired by the concurrency primitives?

2. Are there any other languages that use such a 2 stage api?


More information about the Digitalmars-d mailing list