Concept Flow - Matching multiple patterns
Start match expression
Check first pattern
Yes
Execute first arm
End
Check second pattern
Yes
Execute second arm
End
Check next patterns...
Default arm or error
The program checks each pattern in order. If the value matches any pattern in an arm, it runs that arm and stops matching.