Merging one Array with Another

via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Mon May 11 00:05:28 PDT 2015


On Thursday, 7 May 2015 at 21:53:24 UTC, Per Nordlöw wrote:
> Thanks. These are good ideas in general. I'm curious to why
> something like merge isn't already in Phobos. The most similar
> existing range in Phobos is probably

So I implemented a first working version of merge() by reusing 
roundRobin(). Working version at:

https://github.com/nordlow/justd/blob/master/range_ex.d#L599

Destroy!


More information about the Digitalmars-d-learn mailing list