scala3
scala3 copied to clipboard
End marker for last invocation
It's natural to rewrite
if b.exists then
b
else
x
end if // b.exists (label is not checked against condition)
to
opt orElse {
x
}
end orElse // easy to check against method name