<div dir="ltr"><div>Our ternary-like switch is now in the &quot;<a href="http://commonly_proposed.md">commonly_proposed.md</a>&quot; file, which doesn&#39;t bode very well. It puzzles me that there isn&#39;t more enthusiasm. Are we the only ones who get irritated taking up so much space with a &quot;switch&quot; when all we need to do is transform between two sets of values?</div><div><br></div><div>I think we need to revamp the proposal somehow to make the idea clearer, because it ought to be pretty compelling.</div><div><br></div><div>• Does anyone here have better &quot;side by side&quot; examples of code before/after? </div><div><br></div><div>• Can anyone think of a way to revise the (English) language of the proposal to make it shorter and sweeter? </div><div><br></div><div>Apologies for prescribing instead of doing. My only excuse is that I&#39;m &quot;too busy&quot;</div><div><br></div><div><br></div><div><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Jan 4, 2016 at 3:03 PM, Matthew Johnson via swift-evolution <span dir="ltr">&lt;<a href="mailto:swift-evolution@swift.org" target="_blank">swift-evolution@swift.org</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div style="word-wrap:break-word"><br><div><span class=""><blockquote type="cite"><div>On Jan 4, 2016, at 2:37 PM, Paul Ossenbruggen via swift-evolution &lt;<a href="mailto:swift-evolution@swift.org" target="_blank">swift-evolution@swift.org</a>&gt; wrote:</div><br><div><span style="font-family:Helvetica;font-size:12px;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;float:none;display:inline!important">Good feedback, I am all for making it feel more like swift. Any ideas would be welcome. I will also try to come up with some myself. </span></div></blockquote><div><br></div></span><div>My suggestion is to leave ternary alone and try to come up with a ternary-like switch expression that is workable.  I think that is likely the best change possible at this point.</div><br><blockquote type="cite"><div><div><div class="h5"><div style="font-family:Helvetica;font-size:12px;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px"><br></div><div style="font-family:Helvetica;font-size:12px;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px"><br><div><blockquote type="cite"><div>On Jan 4, 2016, at 12:34 PM, Rod Brown &lt;<a href="mailto:rodney.brown6@icloud.com" target="_blank">rodney.brown6@icloud.com</a>&gt; wrote:</div><br><div><div dir="auto"><div>For all the proposals I&#39;ve seen on this topic, I have to say -1.</div><div><br></div><div>While I agree with the notions surrounding this operator, I&#39;ve yet to see a better alternative presented, and none that feel truly Swift.</div><div><br></div><div>If someone has a great proposal, though, I look forward to seeing it.</div><div><br>- Rod</div><div><br>On 5 Jan 2016, at 7:28 AM, Howard Lovatt via swift-evolution &lt;<a href="mailto:swift-evolution@swift.org" target="_blank">swift-evolution@swift.org</a>&gt; wrote:<br><br></div><blockquote type="cite"><div>-1 for me. None of it looks or feels like Swift, more like Haskell. I would prefer a library solution for now and remove ?: from the language and add a which into the standard library and see how that goes and if there is need for more.<div><br><div>Sorry,<br><br>Howard.<br></div><div><br></div><div><blockquote type="cite"><div>On 5 Jan 2016, at 7:24 AM, Paul Ossenbruggen via swift-evolution &lt;<a href="mailto:swift-evolution@swift.org" target="_blank">swift-evolution@swift.org</a>&gt; wrote:</div><br><div><span style="font-family:Helvetica;font-size:12px;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;float:none;display:inline!important">Any feedback on this? I am rethinking the idea of #( because of the # prior usage as a preprocessor directive, but like how it stands out and has a meaning.  If no feedback, does it make sense to update my proposal with these ideas? Or does this feel like the wrong direction. </span><div style="font-family:Helvetica;font-size:12px;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px"><br><div><div><br><div><blockquote type="cite"><div>On Dec 30, 2015, at 8:52 AM, Paul Ossenbruggen &lt;<a href="mailto:possen@gmail.com" target="_blank">possen@gmail.com</a>&gt; wrote:</div><br><div><div style="word-wrap:break-word"><div><div style="margin:0px;line-height:normal"><div style="margin:0px;line-height:normal">Some more ideas, this moves away from the notion that we should make it look really close to the ternary but keeps all the benefits of the ternary and improves upon it. Since I have been suggesting a breaking change, it is a good time to rethink it a bit. With this idea a horizontal line (double-dash) separates the control value from the choices, the vertical line (bar) indicates none of the above. </div><div style="margin:0px;line-height:normal"><br></div><div style="margin:0px;line-height:normal">Rather than use the ?( as I have suggested in the past, I think #( works here, where you can think of it as a numerical index. The advantage of this is, it stands out better and leaves ? for optionals only. This works well with the list form. In the enum case the index is the enum key. I can see that this however may be a problem because # is used for preprocessor like directives. I am suggesting though just the #( sequence is treated differently. Or the ?( is fine with me as well.</div><div style="margin:0px;line-height:normal"><br></div><div style="margin:0px;line-height:normal">I have gone through a lot of options, some others I looked at are !( which could be read as &quot;match stick” paren, where the word “match” matches a case, I am pretty sure that would not be considered any better than ?( because it is used for optionals. Another is “witch hat paren” ^( which can be read as “which”.  This might create a parse problem with &quot;power of&quot; though, which maybe using ^[ (hat square bracket) could resolve that but not sure if that would create other problems. Some other choices would be &amp;(  and @( but did not choose them because  they don’t have meaning to me but they do have the advantage of standing out like the #(. </div><div style="font-family:Menlo;margin:0px;line-height:normal"><br></div><div style="font-family:Menlo;margin:0px;line-height:normal"><span style="color:rgb(187,44,162)">let</span><span> </span>fa = #(truth -- <span style="color:rgb(39,42,216)">1</span><span> </span>|<span> </span><span style="color:rgb(39,42,216)">0</span>)<span> </span><font color="#77bb41">// boolean case</font>. </div><div style="margin:0px;line-height:normal"><span style="font-family:Menlo;color:rgb(187,44,162)">let</span><font face="Menlo"><span> </span>fb = #(pickOne -- </font><span style="font-family:Menlo;color:rgb(209,47,27)">&quot;A&quot;</span><font face="Menlo">,<span> </span></font><span style="font-family:Menlo;color:rgb(209,47,27)">&quot;B&quot;</span><font face="Menlo">,<span> </span></font><span style="font-family:Menlo;color:rgb(209,47,27)">&quot;C&quot;</span><font face="Menlo">,<span> </span></font><span style="font-family:Menlo;color:rgb(209,47,27)">&quot;D&quot;</span><font face="Menlo">,<span> </span></font><span style="font-family:Menlo;color:rgb(209,47,27)">&quot;E&quot;</span><font face="Menlo">,<span> </span></font><span style="font-family:Menlo;color:rgb(209,47,27)">&quot;F&quot;</span><font face="Menlo">,<span> </span></font><span style="font-family:Menlo;color:rgb(209,47,27)">&quot;G&quot;</span><font face="Menlo"><span> </span>|<span> </span></font><span style="font-family:Menlo;color:rgb(209,47,27)">&quot;Z</span><font color="#d12f1b" face="Menlo">”</font><font face="Menlo">)<span> </span><font color="#669c35">// list form, pick index, zero based</font>. </font></div><div style="font-family:Menlo;margin:0px;line-height:normal"><span style="color:rgb(187,44,162)">let</span><span> </span>fc = #(color -- .Red:<span> </span><span style="color:rgb(39,42,216)">0xFF0000</span>, .Green:<span> </span><span style="color:rgb(39,42,216)">0x00FF00</span>, .Blue:<span> </span><span style="color:rgb(39,42,216)">0x0000FF</span><span> </span>|<span> </span><span style="color:rgb(39,42,216)">0xFFFFFF</span>)<span> </span><font color="#669c35">// enum form.</font></div><div style="font-family:Menlo;margin:0px;line-height:normal"><span style="color:rgb(187,44,162)">let</span> fd = #(color -- .Red:    <span style="color:rgb(39,42,216)">0xFF0000</span>, </div><div style="font-family:Menlo;margin:0px;line-height:normal"> <span> </span><span style="white-space:pre-wrap">        </span>      <span style="white-space:pre-wrap">        </span>    .Green:  <span style="color:rgb(39,42,216)">0x00FF00</span>, </div><div style="font-family:Menlo;margin:0px;line-height:normal"><span style="white-space:pre-wrap">        </span> <span style="white-space:pre-wrap">        </span>    .Blue:  <span> </span><span style="color:rgb(39,42,216)">0x0000FF</span> </div><div style="font-family:Menlo;margin:0px;line-height:normal">       <span> </span><span style="white-space:pre-wrap">        </span>    | <span style="color:rgb(39,42,216)">0xFFFFFF</span>)<span> </span><font color="#669c35">// enum multiline, default: can be used here if preferred.</font></div><div style="font-family:Menlo;margin:0px;line-height:normal"><div style="margin:0px;line-height:normal"><span style="color:rgb(187,44,162)">let</span> fe = #(color -- .Red:    <span style="color:rgb(39,42,216)">0xFF0000</span>, </div><div style="margin:0px;line-height:normal">  <span style="white-space:pre-wrap">        </span>      <span style="white-space:pre-wrap">        </span>    .Green:  <span style="color:rgb(39,42,216)">0x00FF00</span>, </div><div style="margin:0px;line-height:normal"><span style="white-space:pre-wrap">        </span> <span style="white-space:pre-wrap">        </span>    .Blue:   <span style="color:rgb(39,42,216)">0x0000FF</span>) <span style="color:rgb(102,156,53)">// if all cases handled, the last bar is optional</span></div><div style="margin:0px;line-height:normal"><span style="color:rgb(102,156,53)"><br></span></div></div><div style="margin:0px;line-height:normal">This visually kind of represents what is going on. Horizontal-line directs eye to one of the normal choices. Vertical-line says none found stop looking and do the otherwise choice. Kind of like a train switch. </div><div style="margin:0px;line-height:normal"><br></div><div style="margin:0px;line-height:normal">The strong feedback was that a replacement has to be usable in places where a ternary could be used. So it needs to work on a single line (and multiline) and needs to be compact. By having a compact, “else&quot; that is possible on a single line. </div><div style="font-family:Menlo;margin:0px;line-height:normal"><br></div><div style="margin:0px;line-height:normal">Comparisons to ternary and other approaches:</div><div style="margin:0px;line-height:normal">• It is very concise like ternary and can fit in places that a ternary does.</div><div style="margin:0px;line-height:normal">• The horizontal line serves to provide a place to align the choices to pick from, not as necessary with ternary. </div><div style="margin:0px;line-height:normal">• The vertical line stops the eye and indicates this is the “else” or “default” choice, the colon does that in ternary but the bar stands out more.</div><div style="margin:0px;line-height:normal">• The parens group the expression, in a way that the ternary does not. With a ternary it is not until you get to the question mark and the barely visible colon that you realize it is a ternary. </div><div style="margin:0px;line-height:normal">• The #( indicates immediately that the expression has started unlike a ternary. </div><div style="margin:0px;line-height:normal">• #( clearly show beginning and end of the construct so that it is immediately identifiable unlike ternary.</div><div style="margin:0px;line-height:normal">• Makes quick one line conversions easily achievable just as ternary can but allowing more than just boolean.  </div><div style="margin:0px;line-height:normal">• The “else” choice is always last and is compactly represented with vertical bar like ternary but more visible. This also differs from the switch statement form, in that it is much more compact than “default:&quot;</div><div style="margin:0px;line-height:normal">• The dash does not create a double colon for enum case as was mentioned as a problem in previous designs.</div><div style="margin:0px;line-height:normal">• All data types for the control are handled the same way, like ternary but now supports more than boolean, it supports any enumerable tope.</div><div style="margin:0px;line-height:normal">• The list form looks like a Array sort of, the enum form looks sort of like a Dictionary, this should make it seem familiar.</div><div style="margin:0px;line-height:normal">• The enum form also supports pattern matching. (see below for examples). Which ternary does not.</div><div style="margin:0px;line-height:normal">• The vast majority of switch statements, at least that I typically use, could be done with this and be much more compact and concise. However if your needs are more complex, then the switch statement is still available. </div><div style="margin:0px;line-height:normal">• You get the benefits of automatic type inference where switch statements used to assign an expression result don’t let you.</div><div style="margin:0px;line-height:normal">• It removes a lot of duplicated code compared to a switch statement assigning an expression result. </div><div style="margin:0px;line-height:normal">• It makes it clear that the result of the expression can be a “let” where less experienced users may think a “var&quot; is required in a switch statement.</div><div style="margin:0px;line-height:normal">• The name binding and assignment occurs in one step unlike the switch statement, when used to assign an expression result. </div><div style="margin:0px;line-height:normal">• It always returns a result of an expression like ternary does and will enforce that the result is a the same type. </div><div style="margin:0px;line-height:normal">• Like ternary leaves the formatting choice to the developer for multiline and single-line but easily handles both.</div><div style="margin:0px;line-height:normal">• Searchable with web search unlike ternary. </div><div style="margin:0px;line-height:normal">• Enum uses the same format as the familiar switch syntax which ternary does not.</div><div style="margin:0px;line-height:normal">• #( stands out more than ?( in my earlier designs.<span style="font-family:Menlo"> </span></div><div style="font-family:Menlo;margin:0px;line-height:normal"><br></div></div></div><div>The difference between this and the switch statement is that this deals only in single expressions for each case. There can only be one expression that gets selected by the control input. This simplifies things compared to a switch statement there are not multiple statements to list afterwards and it does not need the word “case&quot; before each part of the choice to separate each list of statements. This makes it so that it can be much more compact and means the word “case” is not necessary. </div><div><br></div><div>Below I go through a bunch of comparisons to statement form, vs new expression also different formatting options:</div><div><br></div><div><div style="margin:0px;line-height:normal;font-family:Menlo"><span style="color:rgb(187,44,162)">let</span><span> </span>res :<span> </span><span style="color:rgb(112,61,170)">Int</span></div><div style="margin:0px;line-height:normal;font-family:Menlo;color:rgb(187,44,162)">switch<span><span> </span></span><span style="color:rgb(79,129,135)">color</span><span><span> </span>{</span></div><div style="margin:0px;line-height:normal;font-family:Menlo">   <span> </span><span style="color:rgb(187,44,162)">case</span><span> </span>.Red:<span> </span><span style="color:rgb(79,129,135)">res</span><span> </span>=<span> </span><span style="color:rgb(39,42,216)">0xFF0000</span></div><div style="margin:0px;line-height:normal;font-family:Menlo">   <span> </span><span style="color:rgb(187,44,162)">case</span><span> </span>.Green:<span> </span><span style="color:rgb(79,129,135)">res</span><span> </span>= <span style="color:rgb(39,42,216)">0x00FF00</span></div><div style="margin:0px;line-height:normal;font-family:Menlo">   <span> </span><span style="color:rgb(187,44,162)">case</span><span> </span>.Blue:<span> </span><span style="color:rgb(79,129,135)">res</span><span> </span>=<span> </span><span style="color:rgb(39,42,216)">0x0000FF</span></div><div style="margin:0px;line-height:normal;font-family:Menlo;color:rgb(187,44,162)">default<span>:</span></div><div style="margin:0px;line-height:normal;font-family:Menlo;color:rgb(39,42,216)"><span>   <span> </span></span><span style="color:rgb(79,129,135)">res</span><span><span> </span>=<span> </span></span>0xFFFFFF</div><div style="margin:0px;line-height:normal;font-family:Menlo">}</div></div><div><br></div><div>With the new expression:</div><div><br></div><div style="margin:0px;line-height:normal;font-family:Menlo"><span style="color:rgb(187,44,162)">let</span><span> </span>res = #(<span style="color:rgb(79,129,135)">color --</span> .Red:   <span style="color:rgb(39,42,216)">0xFF0000</span></div><div style="margin:0px;line-height:normal;font-family:Menlo">   <span> </span><span style="white-space:pre-wrap">                </span>     .Green: <span style="color:rgb(39,42,216)">0x00FF00</span></div><div style="margin:0px;line-height:normal;font-family:Menlo">                     .Blue:  <span style="color:rgb(39,42,216)">0x0000FF</span></div><div style="margin:0px;line-height:normal;font-family:Menlo"><span>                     </span><font color="#4f8187">| </font><font color="#272ad8">0xFFFFFF</font>}</div><div style="margin:0px;line-height:normal;font-family:Menlo"><br></div><div style="margin:0px;line-height:normal">This uses a where clause with existing statement:<span style="font-family:Menlo"> </span></div><div style="margin:0px;line-height:normal;font-family:Menlo"><br></div><div style="margin:0px;line-height:normal"><div style="margin:0px;line-height:normal"><div style="margin:0px;line-height:normal;font-family:Menlo"><span style="color:rgb(187,44,162)">let</span> res : <span style="color:rgb(112,61,170)">Int</span></div><div style="font-family:Menlo;color:rgb(187,44,162);margin:0px;line-height:normal">switch<span><span> </span></span><span style="color:rgb(79,129,135)">color</span><span><span> </span>{</span></div><div style="font-family:Menlo;margin:0px;line-height:normal"><span style="color:rgb(187,44,162)">    case .</span>Red<span> </span><font color="#bb2ca2">where</font><span> </span><span style="color:rgb(79,129,135)">shade</span><span> </span><span style="color:rgb(49,89,93)">==</span><font color="#bb2ca2"><span> </span>.</font><span style="color:rgb(49,89,93)">Dark</span><font color="#bb2ca2">:<span> </span></font><span style="color:rgb(79,129,135)">res</span><font color="#bb2ca2"><span> </span>=<span> </span></font><span style="color:rgb(39,42,216)">0xFF1010</span></div><div style="font-family:Menlo;margin:0px;line-height:normal"><span style="color:rgb(187,44,162)">    case .</span>Red<font color="#bb2ca2">:<span> </span></font><span style="color:rgb(79,129,135)">res</span><font color="#bb2ca2"><span> </span>=<span> </span></font><span style="color:rgb(39,42,216)">0xFF0000</span></div><div style="font-family:Menlo;margin:0px;line-height:normal"><span style="color:rgb(187,44,162)">    case .</span>Green<font color="#bb2ca2">:<span> </span></font><span style="color:rgb(79,129,135)">res</span><font color="#bb2ca2"><span> </span>= </font><span style="color:rgb(39,42,216)">0x00FF00</span></div><div style="font-family:Menlo;margin:0px;line-height:normal"><span style="color:rgb(187,44,162)">    case .</span>Blue<font color="#bb2ca2">:<span> </span></font><span style="color:rgb(79,129,135)">res</span><font color="#bb2ca2"><span> </span>=<span> </span></font><span style="color:rgb(39,42,216)">0x0000FF</span></div><div style="font-family:Menlo;color:rgb(187,44,162);margin:0px;line-height:normal"><span>   <span> </span></span>default<span>:</span></div><div style="font-family:Menlo;color:rgb(187,44,162);margin:0px;line-height:normal">       <span> </span><span style="color:rgb(79,129,135)">res</span><span> </span>=<span> </span><span style="color:rgb(39,42,216)">0xFFFFFF</span></div><div style="font-family:Menlo;color:rgb(187,44,162);margin:0px;line-height:normal">}</div><div style="color:rgb(187,44,162);margin:0px;line-height:normal"><div style="font-family:Menlo;margin:0px;line-height:normal"><br></div><div style="margin:0px;line-height:normal">This one way to do the same thing with multiline and the expression if it makes it clearer, some may prefer this: </div><div style="font-family:Menlo"><br></div></div><div><div style="font-family:Menlo;margin:0px;line-height:normal"><font color="#bb2ca2">let </font>res = #(<span style="color:rgb(79,129,135)">color </span>-- </div><div style="font-family:Menlo;margin:0px;line-height:normal"><font color="#bb2ca2">    case .</font>Red<font color="#bb2ca2"> where </font><span style="color:rgb(79,129,135)">shade</span><font color="#bb2ca2"> </font><span style="color:rgb(49,89,93)">==</span><font color="#bb2ca2"> .</font><span style="color:rgb(49,89,93)">Dark</span><font color="#bb2ca2">: </font><span style="color:rgb(39,42,216)">0xFF1010</span></div><div style="font-family:Menlo;margin:0px;line-height:normal"><span style="color:rgb(187,44,162)">    case .</span>Red<font color="#bb2ca2">: </font><span style="color:rgb(39,42,216)">0xFF0000</span></div><div style="font-family:Menlo;margin:0px;line-height:normal"><span style="color:rgb(187,44,162)">    case .</span>Green<font color="#bb2ca2">: </font><span style="color:rgb(39,42,216)">0x00FF00</span></div><div style="font-family:Menlo;margin:0px;line-height:normal"><span style="color:rgb(187,44,162)">    case .</span>Blue<font color="#bb2ca2">: </font><span style="color:rgb(39,42,216)">0x0000FF</span></div><div style="font-family:Menlo;color:rgb(187,44,162);margin:0px;line-height:normal"><span>    </span>default: <span style="color:rgb(39,42,216)">0xFFFFFF</span></div><div style="font-family:Menlo;color:rgb(187,44,162);margin:0px;line-height:normal">}</div><div style="font-family:Menlo;color:rgb(187,44,162);margin:0px;line-height:normal"><br></div><div style="color:rgb(187,44,162);margin:0px;line-height:normal"><div style="margin:0px;line-height:normal">Since this the case does not add anything, you can do this as well:</div><div style="font-family:Menlo"><br></div></div></div><div style="font-family:Menlo"><div style="margin:0px;line-height:normal"><font color="#bb2ca2">let<span> </span></font>res = #(<span style="color:rgb(79,129,135)">color<span> </span></span>—-  <span style="color:rgb(187,44,162)">.</span>Red<span> </span><font color="#bb2ca2">where</font><span> </span><span style="color:rgb(79,129,135)">shade</span><span> </span><span style="color:rgb(49,89,93)">==</span><font color="#bb2ca2"><span> </span>.</font><span style="color:rgb(49,89,93)">Dark</span><font color="#bb2ca2">: </font><span style="color:rgb(39,42,216)">0xFF1010</span></div></div></div></div><blockquote style="margin:0px 0px 0px 40px;border:none;padding:0px"><blockquote style="margin:0px 0px 0px 40px;border:none;padding:0px"><blockquote style="margin:0px 0px 0px 40px;border:none;padding:0px"><div style="margin:0px;line-height:normal"><div style="margin:0px;line-height:normal"><div style="font-family:Menlo"><div style="margin:0px;line-height:normal"><span style="color:rgb(187,44,162)">     .</span>Red<font color="#bb2ca2">:   </font><span style="color:rgb(39,42,216)">0xFF0000</span></div></div></div></div></blockquote></blockquote><blockquote style="margin:0px 0px 0px 40px;border:none;padding:0px"><blockquote style="margin:0px 0px 0px 40px;border:none;padding:0px"><div style="margin:0px;line-height:normal"><div style="margin:0px;line-height:normal"><div style="font-family:Menlo"><div style="margin:0px;line-height:normal"><span style="color:rgb(187,44,162)">     .</span>Green<font color="#bb2ca2">: </font><span style="color:rgb(39,42,216)">0x00FF00</span></div></div></div></div></blockquote></blockquote><blockquote style="margin:0px 0px 0px 40px;border:none;padding:0px"><blockquote style="margin:0px 0px 0px 40px;border:none;padding:0px"><div style="margin:0px;line-height:normal"><div style="margin:0px;line-height:normal"><div style="font-family:Menlo"><div style="margin:0px;line-height:normal"><span style="color:rgb(187,44,162)">     .</span>Blue<font color="#bb2ca2">:  </font><span style="color:rgb(39,42,216)">0x0000FF</span></div></div></div></div></blockquote></blockquote><blockquote style="margin:0px 0px 0px 40px;border:none;padding:0px"><blockquote style="margin:0px 0px 0px 40px;border:none;padding:0px"><div style="margin:0px;line-height:normal"><div style="margin:0px;line-height:normal"><div style="font-family:Menlo"><div style="margin:0px;line-height:normal"><span>     |</span><font color="#bb2ca2"> </font><span style="color:rgb(39,42,216)">0xFFFFFF</span><span style="color:rgb(187,44,162)">}</span></div></div></div></div></blockquote></blockquote></blockquote><div style="margin:0px;line-height:normal"><div style="margin:0px;line-height:normal"><div style="font-family:Menlo;color:rgb(187,44,162)"><br></div></div></div><div>If “case” makes the “where&quot; clearer then I am fine requiring it but I don’t think it is necessary:<font face="Menlo"> </font>To make this kind of formatting easy, the editor should help align  with the dashes. To allow more space on each line this would also work:</div><div><br></div><div><div style="margin:0px;line-height:normal"><div style="margin:0px;line-height:normal"><div style="font-family:Menlo"><div style="margin:0px;line-height:normal"><font color="#bb2ca2">let </font>res = #(<span style="color:rgb(79,129,135)">color</span></div><div style="margin:0px;line-height:normal"><font color="#4f8187">    -</font>—   <span style="color:rgb(187,44,162)">.</span>Red <font color="#bb2ca2">where</font> <span style="color:rgb(79,129,135)">shade</span> <span style="color:rgb(49,89,93)">==</span><font color="#bb2ca2"> .</font><span style="color:rgb(49,89,93)">Dark</span><font color="#bb2ca2">: </font><span style="color:rgb(39,42,216)">0xFF1010</span></div><div style="margin:0px;line-height:normal"><span style="color:rgb(187,44,162)">         .</span>Red<font color="#bb2ca2">:   </font><span style="color:rgb(39,42,216)">0xFF0000</span></div><div style="margin:0px;line-height:normal"><font color="#272ad8">    </font><span style="color:rgb(187,44,162)"><span> </span>    .</span>Green<font color="#bb2ca2">: </font><span style="color:rgb(39,42,216)">0x00FF00</span></div><div style="margin:0px;line-height:normal"><font color="#272ad8">    </font><span style="color:rgb(187,44,162)"><span> </span>    .</span>Blue<font color="#bb2ca2">:  </font><span style="color:rgb(39,42,216)">0x0000FF</span></div><div style="margin:0px;line-height:normal"><font color="#272ad8">    </font><span> </span>    |<font color="#bb2ca2"> </font><span style="color:rgb(39,42,216)">0xFFFFFF</span><span style="color:rgb(187,44,162)">}</span></div></div></div></div><div style="margin:0px;line-height:normal"><div style="margin:0px;line-height:normal"></div></div></div><div><br></div><div>one last option for maximum space on the line:</div><div><br></div><div><div><div style="margin:0px;line-height:normal"><div style="margin:0px;line-height:normal"><div><div style="font-family:Menlo;margin:0px;line-height:normal"><font color="#bb2ca2">let </font>res = #(<span style="color:rgb(79,129,135)">color </span>—- </div><div style="font-family:Menlo;margin:0px;line-height:normal"> <span style="color:rgb(187,44,162)">.</span>Red <font color="#bb2ca2">where</font> <span style="color:rgb(79,129,135)">shade</span> <span style="color:rgb(49,89,93)">==</span><font color="#bb2ca2"> .</font><span style="color:rgb(49,89,93)">Dark</span><font color="#bb2ca2">: </font><span style="color:rgb(39,42,216)">0xFF1010</span></div><div style="font-family:Menlo;margin:0px;line-height:normal"><span style="color:rgb(187,44,162)"> .</span>Red<font color="#bb2ca2">:   </font><span style="color:rgb(39,42,216)">0xFF0000</span></div><div style="font-family:Menlo;margin:0px;line-height:normal"><font color="#272ad8"> </font><span style="color:rgb(187,44,162)">.</span>Green<font color="#bb2ca2">: </font><span style="color:rgb(39,42,216)">0x00FF00</span></div><div style="font-family:Menlo;margin:0px;line-height:normal"><font color="#272ad8"> </font><span style="color:rgb(187,44,162)">.</span>Blue<font color="#bb2ca2">:  </font><span style="color:rgb(39,42,216)">0x0000FF</span></div><div style="font-family:Menlo;margin:0px;line-height:normal"><font color="#272ad8"> </font>|<font color="#bb2ca2"> </font><span style="color:rgb(39,42,216)">0xFFFFFF</span><span style="color:rgb(187,44,162)">}</span></div><div style="font-family:Menlo;margin:0px;line-height:normal"><br></div></div></div></div></div><blockquote type="cite"><div>On Dec 23, 2015, at 11:51 AM, Paul Ossenbruggen &lt;<a href="mailto:possen@gmail.com" target="_blank">possen@gmail.com</a>&gt; wrote:</div><br><div><div style="word-wrap:break-word">Been thinking about the boolean case a bit more, and how to make it better than a ternary using my proposed syntax. So else could be put there to help show it is the opposite. The downside is this makes it mix keywords and operators so seems a bit jarring. <div><br></div><div><p style="margin-top:0px;margin-bottom:16px;color:rgb(51,51,51);font-family:&#39;Helvetica Neue&#39;,Helvetica,&#39;Segoe UI&#39;,Arial,freesans,sans-serif,&#39;Apple Color Emoji&#39;,&#39;Segoe UI Emoji&#39;,&#39;Segoe UI Symbol&#39;;font-size:16px;background-color:rgb(255,255,255)">With the new form parenthesis are built into it and are required:</p><div style="margin-bottom:16px;color:rgb(51,51,51);font-family:&#39;Helvetica Neue&#39;,Helvetica,&#39;Segoe UI&#39;,Arial,freesans,sans-serif,&#39;Apple Color Emoji&#39;,&#39;Segoe UI Emoji&#39;,&#39;Segoe UI Symbol&#39;;font-size:16px;background-color:rgb(255,255,255)"><pre style="overflow:auto;font-family:Consolas,&#39;Liberation Mono&#39;,Menlo,Courier,monospace;font-size:14px;margin-top:0px;margin-bottom:0px;line-height:1.45;padding:16px;background-color:rgb(247,247,247);border-top-left-radius:3px;border-top-right-radius:3px;border-bottom-right-radius:3px;border-bottom-left-radius:3px;word-wrap:normal;word-break:normal">x <span style="color:rgb(167,29,93)">=</span> ?(x <span style="color:rgb(167,29,93)">==</span> y <span style="color:rgb(167,29,93)">:</span> <span style="color:rgb(0,134,179)">49</span> <span style="color:rgb(167,29,93)">else</span> <span style="color:rgb(0,134,179)">3</span>) </pre></div><p style="margin-top:0px;margin-bottom:16px;color:rgb(51,51,51);font-family:&#39;Helvetica Neue&#39;,Helvetica,&#39;Segoe UI&#39;,Arial,freesans,sans-serif,&#39;Apple Color Emoji&#39;,&#39;Segoe UI Emoji&#39;,&#39;Segoe UI Symbol&#39;;font-size:16px;background-color:rgb(255,255,255)">alternatively the bang means do the opposite:</p><div style="margin-bottom:16px;color:rgb(51,51,51);font-family:&#39;Helvetica Neue&#39;,Helvetica,&#39;Segoe UI&#39;,Arial,freesans,sans-serif,&#39;Apple Color Emoji&#39;,&#39;Segoe UI Emoji&#39;,&#39;Segoe UI Symbol&#39;;font-size:16px;background-color:rgb(255,255,255)"><pre style="overflow:auto;font-family:Consolas,&#39;Liberation Mono&#39;,Menlo,Courier,monospace;font-size:14px;margin-top:0px;margin-bottom:0px;line-height:1.45;padding:16px;background-color:rgb(247,247,247);border-top-left-radius:3px;border-top-right-radius:3px;border-bottom-right-radius:3px;border-bottom-left-radius:3px;word-wrap:normal;word-break:normal">x <span style="color:rgb(167,29,93)">=</span> ?(x <span style="color:rgb(167,29,93)">==</span> y <span style="color:rgb(167,29,93)">:</span> <span style="color:rgb(0,134,179)">49</span> <span style="color:rgb(167,29,93)">!</span> <span style="color:rgb(0,134,179)">3</span>) <span style="color:rgb(150,152,150)">// not sure this creates a parsing problem. </span></pre></div><p style="margin-top:0px;margin-bottom:16px;color:rgb(51,51,51);font-family:&#39;Helvetica Neue&#39;,Helvetica,&#39;Segoe UI&#39;,Arial,freesans,sans-serif,&#39;Apple Color Emoji&#39;,&#39;Segoe UI Emoji&#39;,&#39;Segoe UI Symbol&#39;;font-size:16px;background-color:rgb(255,255,255)">or if the above causes a parsing problem:</p><div style="margin-bottom:16px;color:rgb(51,51,51);font-family:&#39;Helvetica Neue&#39;,Helvetica,&#39;Segoe UI&#39;,Arial,freesans,sans-serif,&#39;Apple Color Emoji&#39;,&#39;Segoe UI Emoji&#39;,&#39;Segoe UI Symbol&#39;;font-size:16px;background-color:rgb(255,255,255)"><pre style="overflow:auto;font-family:Consolas,&#39;Liberation Mono&#39;,Menlo,Courier,monospace;font-size:14px;margin-top:0px;margin-bottom:0px;line-height:1.45;padding:16px;background-color:rgb(247,247,247);border-top-left-radius:3px;border-top-right-radius:3px;border-bottom-right-radius:3px;border-bottom-left-radius:3px;word-wrap:normal;word-break:normal">x <span style="color:rgb(167,29,93)">=</span> ?(x <span style="color:rgb(167,29,93)">==</span> y <span style="color:rgb(167,29,93)">:</span> <span style="color:rgb(0,134,179)">49</span> <span style="color:rgb(167,29,93)">|</span> <span style="color:rgb(0,134,179)">3</span>)  </pre></div><div>Any thoughts?</div><div><br></div><div><blockquote type="cite"><div>On Dec 23, 2015, at 7:02 AM, Félix Cloutier via swift-evolution &lt;<a href="mailto:swift-evolution@swift.org" target="_blank">swift-evolution@swift.org</a>&gt; wrote:</div><br><div><span style="font-family:Helvetica;font-size:12px;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;float:none;display:inline!important">I know, but that won&#39;t support pattern matching.</span><div style="font-family:Helvetica;font-size:12px;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px"><br><div><span style="border-collapse:separate;font-family:&#39;Lucida Grande&#39;;line-height:normal;border-spacing:0px">Félix</span></div><br><div><blockquote type="cite"><div>Le 23 déc. 2015 à 02:22:07, David Waite &lt;<a href="mailto:david@alkaline-solutions.com" target="_blank">david@alkaline-solutions.com</a>&gt; a écrit :</div><br><div><div style="word-wrap:break-word">In the case where your input is hashable, you could just do:<div><br></div><div><div style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(39,42,216)"><span style="color:rgb(187,44,162)">let</span><span> i = [.</span><span style="color:rgb(49,89,93)">Red</span><span>:</span>0xff0000<span>, .</span><span style="color:rgb(49,89,93)">Green</span><span>:</span>0x00ff00<span>, .</span><span style="color:rgb(49,89,93)">Blue</span><span>:</span>0x0000ff<span>][</span><span style="color:rgb(79,129,135)">color</span><span>]</span></div><div style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(39,42,216)"><span><br></span></div><div style="margin:0px;line-height:normal"><font face="Menlo"><span style="font-size:11px">this would mean that color must be a Color and not an Optional&lt;Color&gt; (because of swift 2.x limitations)</span></font></div><div style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(39,42,216)"><span><br></span></div><div style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(39,42,216)"><span>-DW</span></div><div style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(39,42,216)"><span><br></span></div><div><blockquote type="cite"><div>On Dec 22, 2015, at 8:04 AM, Félix Cloutier via swift-evolution &lt;<a href="mailto:swift-evolution@swift.org" target="_blank">swift-evolution@swift.org</a>&gt; wrote:</div><br><div><div>I like the gist of it too, though you seem to introduce both a new keyword and a new syntax. (To be clear, I like the syntax but I&#39;m ambivalent towards reusing switch instead of which.)<br><br>My minor suggestions would to avoid braces for things that aren&#39;t scopes; that either the comma or the the question mark is redundant in their current position (you need a start delimiter or an end delimiter but you don&#39;t need both); and that it needs a way to handle a default case if enumeration isn&#39;t exhaustive (I&#39;d do that by returning an optional).<br><br><blockquote type="cite">let i = which color (.Red: 0xff0000, .Green: 0x00ff00, .Blue: 0x0000ff) ?? 0x000000<br></blockquote><br><br>Thinking out loud, once you remove the question marks it really looks like a dictionary literal, so maybe it could even use square brackets to close the gap.<br><br><blockquote type="cite">let i = which color [.Red: 0xff0000, .Green: 0x00ff00, .Blue: 0x0000ff] ?? 0x000000<br></blockquote><br><br>I thought about subscripting a dictionary literal in place:<br><br><blockquote type="cite">[Color.Red: 0xff0000, ...][color] ?? 0x000000<br></blockquote><br><br>but that won&#39;t support elaborate pattern matching, and I think that this is a deal breaker for the functional folks.<br><br>Félix<br><br><blockquote type="cite">Le 22 déc. 2015 à 09:31:32, Charles Constant &lt;<a href="mailto:charles@charlesism.com" target="_blank">charles@charlesism.com</a>&gt; a écrit :<br><br>Just goofing on this a little. What if we called it a &quot;which&quot; statement, instead of a &quot;switch&quot; statement? It&#39;s a bit cutesy, but not too verbose, and it makes sense if you read it aloud.<br><br>let i = which color {<br><span style="white-space:pre-wrap">        </span>? .Red: 0xFF0000,<span> </span><br><span style="white-space:pre-wrap">        </span>? .Green: 0x00FF00,<span> </span><br><span style="white-space:pre-wrap">        </span>? .Blue: 0x00000FF<br>}<br><br>let i = which boo {<br><span style="white-space:pre-wrap">        </span>? true: 1,<span> </span><br><span style="white-space:pre-wrap">        </span>? false: 0,<span> </span><br><span style="white-space:pre-wrap">        </span>? nil: -1<br>}<br><br></blockquote><br>_______________________________________________<br>swift-evolution mailing list<br><a href="mailto:swift-evolution@swift.org" target="_blank">swift-evolution@swift.org</a><br><a href="https://lists.swift.org/mailman/listinfo/swift-evolution" target="_blank">https://lists.swift.org/mailman/listinfo/swift-evolution</a><br></div></div></blockquote></div><br></div></div></div></blockquote></div><br></div><img src="https://u2002410.ct.sendgrid.net/wf/open?upn=emrIhnP1hIf76Foxxv4NNJQX-2FWhcznESwKBSwD1MEwyE0wTxxNECMPPCzo-2FHTW73rbbjXg-2BkDsDXavGQRCH-2BQ3MVHuZZpqgJplv86uUZoGsXw4QiMMSHM7Rd5jhg7ISmdEVPAPcJGXs7M4iyRFt8uZ-2FU9A47RmlVFvFti5ZfpkwXHXu-2FstKfyhK3bAm7-2FBt9PJckFHcYKDhCLL-2FdK6cCrvhygEw9ZWe7EDng6hzlirg-3D" alt="" width="1" height="1" border="0" style="font-family:Helvetica;font-size:12px;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;min-height:1px!important;width:1px!important;border-width:0px!important;margin:0px!important;padding:0px!important"><span style="font-family:Helvetica;font-size:12px;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;float:none;display:inline!important"><span> </span></span><span style="font-family:Helvetica;font-size:12px;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;float:none;display:inline!important">_______________________________________________</span><br style="font-family:Helvetica;font-size:12px;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px"><span style="font-family:Helvetica;font-size:12px;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;float:none;display:inline!important">swift-evolution mailing list</span><br style="font-family:Helvetica;font-size:12px;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px"><a href="mailto:swift-evolution@swift.org" style="font-family:Helvetica;font-size:12px;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px" target="_blank">swift-evolution@swift.org</a><br style="font-family:Helvetica;font-size:12px;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px"><a href="https://lists.swift.org/mailman/listinfo/swift-evolution" style="font-family:Helvetica;font-size:12px;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px" target="_blank">https://lists.swift.org/mailman/listinfo/swift-evolution</a></div></blockquote></div><br></div></div></div></blockquote></div><br></div></div></blockquote></div><br></div></div></div><img src="https://u2002410.ct.sendgrid.net/wf/open?upn=Vm9j-2B2K6zLqxUFTO82XA8HV2TThDz5lA3-2F-2Fpeujw7DQEkp9mjyzfHAR4XgPFuHN2XaRHLRZW1wbv6LZQrFqjZJlLbSGf68eHT7iZYNk96tuSUvWNbb8w54JUZWrNiRQEC5LOtkR1g-2FQhP75yLKKU3tcapTgX3SQASR0yBPpBDSjT-2BeKMiZVO930f6F-2FXOs0TSngU8AAn-2Fh0boBjEKdW3LSIwNU3FDCSu1DeM7wQj5bU-3D" alt="" width="1" height="1" border="0" style="font-family:Helvetica;font-size:12px;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;min-height:1px!important;width:1px!important;border-width:0px!important;margin:0px!important;padding:0px!important"><span style="font-family:Helvetica;font-size:12px;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;float:none;display:inline!important"><span> </span></span><span style="font-family:Helvetica;font-size:12px;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;float:none;display:inline!important">_______________________________________________</span><br style="font-family:Helvetica;font-size:12px;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px"><span style="font-family:Helvetica;font-size:12px;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;float:none;display:inline!important">swift-evolution mailing list</span><br style="font-family:Helvetica;font-size:12px;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px"><a href="mailto:swift-evolution@swift.org" style="font-family:Helvetica;font-size:12px;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px" target="_blank">swift-evolution@swift.org</a><br style="font-family:Helvetica;font-size:12px;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px"><a href="https://lists.swift.org/mailman/listinfo/swift-evolution" style="font-family:Helvetica;font-size:12px;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px" target="_blank">https://lists.swift.org/mailman/listinfo/swift-evolution</a></div></blockquote></div><br></div><img src="https://u2002410.ct.sendgrid.net/wf/open?upn=a745LmqnDfg8U5xkzxO94fzXSZ0ZB2d7MXjmVBHs4IEqFPgVTbqmkTi4uyiN-2FN0rnTRWDzr29rgvMQn664L5tFOomZlTTa646rMbxU-2BrZuD8u5byvxxSHivBZ0K0PmeGoGAsbZU7B-2FJl6mmqdapwX1v3C3qAwwO0PzLvR9-2FAdKIWK0LMAmxgruY4eBTOCrDvA-2BdyHUSCS-2F4AJ1MKe0IDuTGkvfLu6b-2FNS5ViSNOfpxM-3D" alt="" width="1" height="1" border="0" style="min-height:1px!important;width:1px!important;border-width:0px!important;margin:0px!important;padding:0px!important"></div></blockquote><blockquote type="cite"><div><span>_______________________________________________</span><br><span>swift-evolution mailing list</span><br><span><a href="mailto:swift-evolution@swift.org" target="_blank">swift-evolution@swift.org</a></span><br><span><a href="https://lists.swift.org/mailman/listinfo/swift-evolution" target="_blank">https://lists.swift.org/mailman/listinfo/swift-evolution</a></span><br></div></blockquote></div></div></blockquote></div><br></div></div></div><img src="https://u2002410.ct.sendgrid.net/wf/open?upn=eLFMrKDT8iBxZ-2Fbnk-2BZqvSchNN-2FvYXdceA0T7VxwkAcKq0UrWwSlZRKFQwjnPJAPTHuhrLDVZ2hUg8hypT0Xrho4jLcUFlw-2FO0eYsEk-2FORRX99cWBsxeClNnA4pcpznMryqnceYMkutr9evlvTTn7IznZ4ASEgyoKpalCIoLBBdNV-2FUaZRqYKGnTHCXz2fhISAkG2TUVGK4KhspiewF4vvHyDTsKTR-2BNVnEGCrVRYOg-3D" alt="" width="1" height="1" border="0" style="font-family:Helvetica;font-size:12px;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;min-height:1px!important;width:1px!important;border-width:0px!important;margin:0px!important;padding:0px!important"><span style="font-family:Helvetica;font-size:12px;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;float:none;display:inline!important"><span> </span></span><span style="font-family:Helvetica;font-size:12px;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;float:none;display:inline!important">_______________________________________________</span><span class=""><br style="font-family:Helvetica;font-size:12px;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px"><span style="font-family:Helvetica;font-size:12px;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;float:none;display:inline!important">swift-evolution mailing list</span><br style="font-family:Helvetica;font-size:12px;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px"><a href="mailto:swift-evolution@swift.org" style="font-family:Helvetica;font-size:12px;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px" target="_blank">swift-evolution@swift.org</a><br style="font-family:Helvetica;font-size:12px;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px"><a href="https://lists.swift.org/mailman/listinfo/swift-evolution" style="font-family:Helvetica;font-size:12px;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px" target="_blank">https://lists.swift.org/mailman/listinfo/swift-evolution</a></span></div></blockquote></div><br>
<img src="https://u2002410.ct.sendgrid.net/wf/open?upn=l3fs1g-2F466j3y5fD5Q61KddsTTCmXL0uxw3XoAMFFNiQX7lkAPj5mYeY-2Bokoh98A7ROmAYEUczmZ3BVkzuaz2sgBKQyPYSzeezuMvT235O-2FCJVLgL74MTuEfwgne7AslbhG-2Br4Nt6O-2Bmi31fDeJjyQ4YTxMZR7WrFDGwV-2FK-2Bdvl2uh-2FcX8yTrQylv8-2FhS-2FkDyk51GM31dsv9GqSXxC2aa96rMq65eOjBdKuCfZKIRS0-3D" alt="" width="1" height="1" border="0" style="min-height:1px!important;width:1px!important;border-width:0!important;margin-top:0!important;margin-bottom:0!important;margin-right:0!important;margin-left:0!important;padding-top:0!important;padding-bottom:0!important;padding-right:0!important;padding-left:0!important">
</div>
<br>_______________________________________________<br>
swift-evolution mailing list<br>
<a href="mailto:swift-evolution@swift.org">swift-evolution@swift.org</a><br>
<a href="https://lists.swift.org/mailman/listinfo/swift-evolution" rel="noreferrer" target="_blank">https://lists.swift.org/mailman/listinfo/swift-evolution</a><br>
<br></blockquote></div><br></div>