On Sunday, 14 February 2016 at 19:32:31 UTC, Bastiaan Veelo wrote:

Thanks. I didn't know that iterating a range means mutating its contents. I still don't quite get it, and it is probably because I don't fully understand ranges. I think what confuses me the most is their analogy to containers. It's no problem to iterate over a container of immutable data, but it is for a range.


Maybe this [1] will help shed some light.

[1] https://www.packtpub.com/books/content/understanding-ranges

Reply via email to