Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
This would make it really easy to create lists that allocate a monumental amount of memory when all you really want to do is loop through them. It could return an Iterable instead, but then the
For a more general "do something for ranges", we'll use #26307 to track that. I'm going to close this one because I don't think we want a solution that involves actually creating a list of numbers.