Range with lookaround

Dukc via Digitalmars-d digitalmars-d at puremagic.com
Fri Mar 3 03:25:27 PST 2017


On Friday, 3 March 2017 at 11:22:37 UTC, Dukc wrote:
> [snip]

correction:
> assert(iota(5).lookAhead(1, 2).array ==
> [   [0, 1],
>     [0, 1, 2],
>     [0, 1, 2, 3],
>     [1, 2, 3, 4],
>     [2, 3, 4]
> ]);



More information about the Digitalmars-d mailing list