On 2015-12-04 13:35, rcorre wrote: > Do you mean something like: > > enum Foo { bar, baz } > void fun(Foo foo) { } > > fun(baz); > > I don't really mind having to use switch/with but I've found myself > wishing for the above on occasion. Yes, but in Swift you need to prefix "baz" with a dot. -- /Jacob Carlborg