apparently it’s `val csvLines = generateSequence {...
# announcements
n
apparently it’s
val csvLines = generateSequence { csv.readMap() }.toList()
k
Ah yes, my bad!
h
what is the difference between
generateSequence { myList }
and
myList.asSequence()
? 🤔
d
I think the first one returns
Sequence<List<...>>
and the second returns
Sequence<...>
.
k
And the first one is also infinite.
h
Got it! @Dominaezzz & @karelpeeters thank you!