On 02/27/2013 03:02 PM, bearophile wrote:

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.

I agree with you. Every range that operates on a range of ranges must support different types of ranges. After all, chain does that:

    auto a = iota(10);
    auto b = [3.1, 6.2, 9.3];
    auto c = iota(11).map!q{a * a};
    auto r = chain(a, b, c);

Ali

Reply via email to