On Wed, 02 May 2012 23:01:21 +0200, Jacob Carlborg <doob at me.com> wrote: > Is there a general function for transforming a range back to the > original type? If not, would it be possible to create one? In addition to std.array.array, as others have pointed out, there is also std.range.InputRangeObject.