diesieben07
val it = seq.iterator() it.asSequence().take(3).toList() // [1, 2, 3] it.asSequence().take(3).toList() // [4, 5, 6]