``` fun <T> T.println() = apply { println(th...
# announcements
h
Copy code
fun <T> T.println() = apply { println(this) }
val <T> T.println: Unit get() = println(this)

fun main(args: Array<String>) {
    listOf(1, 2).println().map { it + 1 }.println() // [1, 2] [2, 3]
}
I kept the
println
property. I like it somehow to have this at the end of expressions/statements. It's for
println
debugging anyway.