```zig const Foo = union(enum) { One: i32, Two: bool, Three: i32, }; fn bar(f: Foo) void { switch (f) { Foo.One, Foo.Three => |x| { }, Foo.Two => |b| { }, } } ```