match
A construct that compares a value against a list of patterns and runs the code for the first one that fits. It is also an expression and must be exhaustive.
A construct that compares a value against a list of patterns and runs the code for the first one that fits. It is also an expression and must be exhaustive.