16 ms·
Oh, look, non-exhaustive checks are exactly as with if-else. And no, `match .. with' cannot be calculated in compilation time typically. Poor argument. It's be
by dozzie 11y ago
Oh, look, non-exhaustive checks are exactly as with if-else. And no, `match ..
with' cannot be calculated in compilation time typically. Poor argument.
It's being a combination of destructuring, branch selection and variable
assignment that makes pattern matching superior.