Join Slack
Powered by
`fun Foo.bar()` is more or less just sugar for def...
# announcements
s
Shawn
10/22/2018, 4:16 PM
fun Foo.bar()
is more or less just sugar for defining a function that takes a
Foo
as an argument and lets you reference it as
this
- function types
Foo.() -> R
and
(Foo) -> R
are equivalent
Open in Slack
Previous
Next