3 ms·
> `foo({ a -> a })` and `foo { a -> b }` are the same I am new to kotlin, so I may be missing something obvious, but shouldn't it be "a->a" in the 2nd case, t
by hnben 2y ago
> `foo({ a -> a })` and `foo { a -> b }` are the same
I am new to kotlin, so I may be missing something obvious, but shouldn't it be "a->a" in the 2nd case, too?
- yuye 2y agoYou're right, my brain farted somewhere in the middle.