In the D tour example shown here https://tour.dlang.org/tour/en/basics/ranges there is the following import: import std.range : drop, generate, take; But generate is not used so I think it ought to be deleted to avoid confusion.