Transforming a range back to the original type?

Jacob Carlborg doob at me.com
Fri May 4 12:11:35 PDT 2012


On 2012-05-04 14:28, Chris Cain wrote:
> On Friday, 4 May 2012 at 11:46:34 UTC, Jacob Carlborg wrote:
>> I give up. Apparently you don't think it's useful.
>
> I'm not seeing it either, but it might help if you gave a concrete
> example of where it could/should be used and what benefits it might
> have. I think it'll be rather hard to come up with an example where the
> programmer wouldn't know what the original type was and have it actually
> matter.

What I actually want is to perform some operations on a collection and 
to have those return a collection. That's not how ranges work, I know, 
but I think it's more useful to get back a collection of than a range.

-- 
/Jacob Carlborg


More information about the Digitalmars-d-learn mailing list