Is there any way to make a function that I can pas...
# announcements
a
Is there any way to make a function that I can pass as a function-with-receiver? I'm in the situation of wanting to reuse a block, but can't work out what the syntax would be to make a function that could do the same role as a receiver lambda
d
(T) -> U
and
T.() -> U
are interchangable.
a
Ah nice and simple, thanks!