I remember there being something like `log` for se...
# announcements
k
I remember there being something like
log
for sequences to debug them, for example you'd use then like this:
myList.asSequence().log().map { it + it }.log().toList()
and it would print out all of the values. Does someone know where I can find it?
i
Perhaps
.log()
is some extension which is implemented as
.onEach(::println)
k
Hmm could be, I wonder where it came from.
But it's not in the standard lib?
i
No. it's not
k
Okay, thanks for helping!