blob: 0ea3cb837156be78092299efce0e40eef75e0c5f [file] [log] [blame]
data class XY(val x: String, val y: String)
fun convert(xy: XY, foo: (XY) -> String) = foo(xy)
fun foo(xy: XY) = convert(xy) { (x, y) -> x + y }