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

Natsuki(开元米粉实力代购)

11/24/2017, 8:53 AM
thank you, I give up, I’ll use a
(Foo)->Unit
instead 😁
g

gildor

11/24/2017, 9:00 AM
For now you can use this way to define such pair
Copy code
val fn : FooExt = { 
}   // compiles
val item : Pair<Int,FooExt> = 1 to fn
3 Views