On Thursday, 18 September 2014 at 13:10:06 UTC, krzaq wrote:
I guess this works for now http://dpaste.dzfl.pl/6801615160e3I have a follow-up question: why does zip not accept an array?
Because (fixed-sized) arrays don't have a range interface (empty, front & popFront()), in particular, popFront cannot be used on them. That's why a slice is needed.
Btw, you can just write `array_name[]` without `0 .. $` to get a slice of the entire array.