nWayUnion(tuple)?
bearophile
bearophileHUGS at lycos.com
Wed Feb 27 15:02:56 PST 2013
Ali Çehreli:
> It is not very pretty, but to match the elements of that array,
> there is inputRangeObject:
OK.
> Phobos could have a function so that the code could be cleaner.
> A function that supports "treat these as InputRanges of ints":
>
> nWayUnion(inputRanges(a, b, c));
>
> But it is not there. :)
If we add an overload of nWayUnion (better named nWayMerge:
http://d.puremagic.com/issues/show_bug.cgi?id=6718 ) then there's
no need to use inputRangeObject...
The question is how much common my use case (mixed type
iterables) is.
Thank you,
bearophile
More information about the Digitalmars-d-learn
mailing list