digitalmars.D.learn - InputRange Concatenation
- =?UTF-8?B?Ik5vcmRsw7Z3Ig==?= (14/14) Nov 23 2013 Is there a higher-order range pattern that concatenate two
- Adam D. Ruppe (3/5) Nov 23 2013 Sounds like you need std.range.chain:
Is there a higher-order range pattern that concatenate two
InputRanges?
Something like
foreach (e; a) {
// do stuff with e
}
foreach (e; b) {
// do stuff with e
}
...
should instead be written as
foreach (e; someMagic(a, b, ...)) {
// do stuff with e
}
Nov 23 2013








"Adam D. Ruppe" <destructionator gmail.com>