Is there something like fun composed() = f() andTh...
# arrow
i
Is there something like fun composed() = f() andThen g() andThen c()
r
They should be in arrow-syntax
s
Those should be method references unless those functions return functions themselves
i
you mean I should rewrite them like this:
Copy code
fun composed() = ::f andThen ::g andThen ::c
s
Yep
d
Yeah, I declare my top level functions as vals because of the
::
syntax