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 callrange.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.