data class Foo(val a: String, val b: Int, val c: Double) val newFoo: (String, Int, Double) -> Foo = { a, b, c -> Foo(a, b, c) }