simple range question

Laeeth Isharc via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Fri Apr 8 11:27:59 PDT 2016


suppose I have a forward or random access range.  what's the best 
way to compare each element with the element 4 elements prior to 
that element?  I could map each element to a tuple of the element 
and the element 4 bars previously and do it that way.  any neater 
way ?



More information about the Digitalmars-d-learn mailing list