Switch¶
Multi-way branching — the first pattern that matches wins.
Each candidate is evaluated as it is tried, so an expression works as a pattern:
Switch¶Multi-way branching — the first pattern that matches wins.
Each candidate is evaluated as it is tried, so an expression works as a pattern: