`fun Foo.bar()` is more or less just sugar for def...
# announcements
s
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