iota where step is a function

Ben Jones fake at fake.fake
Thu May 25 02:33:27 UTC 2023


On Thursday, 25 May 2023 at 00:39:02 UTC, anonymouse wrote:
>
> I think I misunderstood what was being asked here.

My particular use case is to step using * rather than +, so 
something like for(i = 1; i < N; i *= 2).  `sequence` worked for 
what I was doing well enough


More information about the Digitalmars-d-learn mailing list