Bernhard
10/30/2025, 9:40 AMgenerateSequence { Elem(it.hasNextPart())}.takeUntil {it.hasNext}
is there a better way to do that? and in that case, would you prefer an Iterator instead?Joffrey
10/30/2025, 9:41 AMwhile loop inside a sequence builder instead. Then all consumers can use the sequenceBernhard
10/30/2025, 9:41 AMBernhard
10/30/2025, 9:43 AM