package examples.lambdas fun apply(value: String, fn: (String) -> Unit) { fn(value) } fun main() { apply("from lambda", { println(it) }) }