Say I have a forward range (for example, an SList[]). I would like to create a new range containing only the first 5 elements of that old range. How can I do that?


std.algorithm.take.

But I would generally avoid SList.

Reply via email to