Re: Is there a smart way to process a range of range by front ?
On Wednesday, 23 September 2015 at 20:44:07 UTC, BBasile wrote: Is it possible ? sorry, I meant to post this in .learn
Re: Is there a smart way to process a range of range by front ?
On Wednesday, 23 September 2015 at 20:44:07 UTC, BBasile wrote: I was thinking to a general *interleave()* algorithm for any compatible Range of Range but I can't find any smart way to process each sub range by front, eg: Is it possible ? What exactly shall your function do? How is it different from http://dlang.org/phobos/std_range.html#.transposed and http://dlang.org/phobos/std_range.html#roundRobin ?
Re: Is there a smart way to process a range of range by front ?
On Thursday, 24 September 2015 at 04:26:05 UTC, thedeemon wrote: On Wednesday, 23 September 2015 at 20:44:07 UTC, BBasile wrote: I was thinking to a general *interleave()* algorithm for any compatible Range of Range but I can't find any smart way to process each sub range by front, eg: Is it possible ? What exactly shall your function do? How is it different from http://dlang.org/phobos/std_range.html#.transposed and http://dlang.org/phobos/std_range.html#roundRobin ? http://forum.dlang.org/thread/lwehxuaarulmyiquo...@forum.dlang.org problem solved (transposed.joiner) [1]. If someone cleans the NG server some time to time this topic should be marked for.