<html><head><meta http-equiv="content-type" content="text/html; charset=utf-8"></head><body dir="auto"><div><br></div><div>On Jan 11, 2017, at 08:48, Derrick Ho via swift-evolution &lt;<a href="mailto:swift-evolution@swift.org">swift-evolution@swift.org</a>&gt; wrote:<br><br></div><blockquote type="cite"><div>Interesting proposal Tim.  So instead of repeating the enum cases multiple times we repeat the functions multiple times?<br><br>I feel like this merely flipping the complexity but not really getting rid of it.</div></blockquote><br><div>I <i>think</i> you have correctly summarized the proposal.</div><div><br></div><div>The complexity can't be gotten rid of (except maybe with macros... depending on the details, of course). Sometimes viewing the same thing from a different angle can be helpful. As long as this syntax is "in addition to" and not "instead of", the only downside I can see to allowing this is a bit of "language bloat", which doesn't particularly bother me. I don't know how hard it would be for the compiler to sort out which "mode" it should parse the enum in, though, especially since you might want to write some parts in the regular way and some parts in this new way.</div><div><br></div><div>So... I guess I'm +1, pending someone who knows more about compiler internals weighing in on implementation implications.</div><div><br></div><div>- Dave Sweeris</div></body></html>