Open
Description
The use of tuples in Itertools::tuples() and friends is questionable:
- It suggests that type heterogeneity in iterator output is possible, which isn't accurate
- It requires underscore-heavy turbofishes in user code
- It could never scale to large groups of outputs, since the tuple-based signature takes O(N) characters
I think it would often make more sense to group consecutive items in arrays, as opposed to tuples. Can we agree on this? And if so, what would be needed to make it happen? I'm ready to help code this.