On 09/12/2015 03:09 PM, "Nordlöw" wrote:InputRange please, not RandomAccessRanges ;)Oops! Here's one using only `InputRange` interface:
I wrote my own as adjacentTuples and adjacentPairs: https://github.com/nordlow/justd/blob/master/range_ex.d#L702 Note: No yet extended to N > 2. An alternative naming would be overlappingTuples/Pairs.