indexedCycleIterator

fun <T> indexedCycleIterator(lastIndex: Int, valueGet: (Int) -> T): Iterator<T>