Union types with disjoint switches