Join Slack
Communities
Powered by
Looking for a workaround my first idea was a `Sequ...
# stdlib
v
voddan
05/22/2017, 6:22 PM
Looking for a workaround my first idea was a
Sequence
function like
File.readLinesInSequence(): Sequence<String>
. Is it possible to implement it?
i
ilya.gorbunov
05/22/2017, 6:33 PM
voddan: It's unclear when and how the opened file stream is closed.
v
voddan
05/22/2017, 6:42 PM
You mean it is error prone because the file can be left hanging?
i
ilya.gorbunov
05/22/2017, 6:56 PM
Indeed
3
Views
Open in Slack
Previous
Next