Use | inside a pattern to match multiple cases with one branch.
|
let n = 1 let label = switch n { | 0 | 1 => "small" | _ => "other" }
Pattern Matching