https://kotlinlang.org logo
#announcements
Title
# announcements
d

diesieben07

03/12/2018, 9:49 AM
You'll have to pass in a reference to that function that, the type would then be
(MyDataType) -> MyDataType
and you could create it using
MyDataType::copy
.