On Friday, 20 November 2015 at 02:47:17 UTC, Rikki Cattermole wrote:
On 20/11/15 10:30 AM, Freddy wrote:
Does anyone else think range.save is a hack? I often find myself forgetting to call range.save in my generic code with my unittests working fine. Also, working with a range of ranges may forget to call
range.save.(Ex: [1,2,4].repeat)

Not really.
If you forget it, then things won't work since it'll be empty ;)

If range is class. For most of structs like Iota range.save returns just itself.

Reply via email to