Looking for a workaround my first idea was a `Sequ...
# stdlib
v
Looking for a workaround my first idea was a
Sequence
function like
File.readLinesInSequence(): Sequence<String>
. Is it possible to implement it?
i
voddan: It's unclear when and how the opened file stream is closed.
v
You mean it is error prone because the file can be left hanging?
i
Indeed