Summary

In this chapter, we've taken an introductory look at ranges in D and how to implement them in containers and algorithms. For more information on ranges and their primitives and traits, see the documentation at http://dlang.org/phobos/std_range.html. In the next chapter, we're going to continue looking at ranges by exploring more of std.range and std.algorithm in order to get comfortable with using ranges and algorithms in a functional style.

Get Learning D now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.