8 lines
85 B
Plaintext
8 lines
85 B
Plaintext
fun foo(x: Foo) {
|
|
x foo { it * 2 }
|
|
}
|
|
|
|
trait Foo {
|
|
fun foo(f: (Int) -> Int)
|
|
}
|