3 ms·
F# lacks an imperative "return" at all - a function returns precisely the value of the expression that is its body - which makes it a lot easier to think about
by Smaug123 5y ago
F# lacks an imperative "return" at all - a function returns precisely the value of the expression that is its body - which makes it a lot easier to think about this kind of thing, at the cost of sometimes having to be explicit about assigning a value to the result of a `try/with`.