On Thursday, 31 March 2016 at 11:41:17 UTC, Rene Zwanenburg wrote: > std.algorithm.findAdjacent!((a, b) => a != b+1)(range).empty; Correction: Should be: std.algorithm.findAdjacent!((a, b) => a+1 != b)(range).empty; Thanks!