On Monday, 14 September 2020 at 09:08:01 UTC, Seb wrote:
You likely want to get involved / raise your support here:
https://github.com/dlang/phobos/pull/7600
Oh this is great, thank you!
On Monday, 14 September 2020 at 07:49:31 UTC, Andrej Mitrovic
wrote:
-
import std.range;
import std.stdio;
void main ()
{
auto range = sequence!((a, n) => n);
// works, but the chunks are all the same length
auto rngs = range.chunks(4);
writeln(rngs[0]);
-
import std.range;
import std.stdio;
void main ()
{
auto range = sequence!((a, n) => n);
// works, but the chunks are all the same length
auto rngs = range.chunks(4);
writeln(rngs[0]);
writeln(rngs[1]);
writeln(rngs[2]);
// want this
auto ranges =