D Easy · Lesson 9

Writing your own range

Implement an input range struct, make it infinite or finite, and plug it into Phobos algorithms.

Lessons · D Easy · Lesson 9 of 10

Writing your own range

Implement an input range struct, make it infinite or finite, and plug it into Phobos algorithms.

Illustration for D
Implement an input range struct, make it infinite or finite, and plug it into Phobos algorithms.