The rfind challenge

Andrei Alexandrescu SeeWebsiteForEmail at erdani.org
Tue Jan 15 13:31:01 PST 2013


On 1/15/13 4:22 PM, H. S. Teoh wrote:
> On Tue, Jan 15, 2013 at 03:59:17PM -0500, Andrei Alexandrescu wrote:
>> On 1/15/13 2:07 PM, Phil Lavoie wrote:
>>> Continuing with reversible ranges:
>>
>> I don't think .reverse will take us far enough. Won't work with
>> arrays which kinda puts a monkey wrench into everything.
> [...]
>
> Not really. We can define an array wrapper with a .reverse that returns
> the original array

Yah, there's retro already. My point is .reverse is not powerful enough. 
 From what I can tell .before is.

Andrei


More information about the Digitalmars-d mailing list