Hi! I’ve noticed that `enumerate()` is a macro that transforms a `for` loop. It seems like it would be easy to make it an `iterator` instead. Iterators are easier to implement and more composable (e.g. could be passed to templates). [PR that originally added them](https://github.com/nim-lang/Nim/pull/15297) seems to suggest that it’s because it was added before concepts, would it make sense to make `enumerate()` an iterator now?
- Why is `enumerate()` a macro? goldsteinq
- Why is `enumerate()` a macro? Calonger
- Why is `enumerate()` a macro? Araq
- Why is `enumerate()` a macro? awr1
- Why is `enumerate()` a macro? choltreppe