anything in particular? I've heard this before but not any specific examples
To be clear, "implicit return" is not the semantic. It's that expressions evaluate to their values.
-
-
So, the only way to have early return is with a return keyword, which itself is an expression that has the type !.
-
So, a return in tail position is valid because it falls out of normal semantics, it would be less consistent to disallow it...
- 6 more replies
New conversation -
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.