Usability of `CycleRange` and `RepeatRange`
CycleRange returns an IBuffer which brings with it the need to dispose the result which is not very practical.
I think we should add an overload for readonly lists that returns a regular old IEnumerable (that's easy because the list is already materialized).
We can either add an overload of the existing CycleRange (that's a source breaking change though).
Alternatively we can use a new name (e.g. CycleList).
I think the names should be different, and I think List is the best name for this kind of abstraction:
alternative suggestions, I list stupid ideas too, to make us think one more time:
- Repeat/CycleMaterialized
- Repeat/CycleEager(Range, Collection)
- Repeat/CycleInMemory
- Repeat/Cycle
We could mark this feature as Experimental as long as we are not sure about the name.