I don’t get it. Aren’t we using `crossinline` beca...
# arrow
r
I don’t get it. Aren’t we using
crossinline
because the function is
inline
?
The crossinline marker is used to mark lambdas that mustn’t allow non-local returns
Why not just?:
Copy code
fun <B> EitherOf<*, B>.getOrElse(default: () -> B): B =
  fix().fold({ default() }, ::identity)