<div dir="ltr">On Sat, Apr 22, 2017 at 10:35 AM, Robert Bennett <span dir="ltr">&lt;<a href="mailto:rltbennett@icloud.com" target="_blank">rltbennett@icloud.com</a>&gt;</span> wrote:<br><div class="gmail_extra"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="auto"><div></div><div>I&#39;m not sure how we could implement breaking lines with \ for single line strings. Either indentation has to be stripped from the broken line, or the line must not be indented in which case nothing has been gained because soft wrap would accomplish the same thing. (Is there an option I&#39;m missing?)</div></div></blockquote><div><br></div><div>Hence, perhaps, we could consider designs that involve breaking lines not a syntax other than `\`?</div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="auto"><div>Now that we have &quot;&quot;&quot;strings&quot;&quot;&quot;, we could simply say: if you want to break a string over multiple lines, use a &quot;&quot;&quot;string&quot;&quot;&quot; as a &quot;string&quot; does not permit this.</div><div><div class="h5"><div><br>On Apr 22, 2017, at 11:12 AM, Xiaodi Wu &lt;<a href="mailto:xiaodi.wu@gmail.com" target="_blank">xiaodi.wu@gmail.com</a>&gt; wrote:<br><br></div><blockquote type="cite"><div><div dir="ltr">On Sat, Apr 22, 2017 at 3:38 AM, Brent Royal-Gordon <span dir="ltr">&lt;<a href="mailto:brent@architechies.com" target="_blank">brent@architechies.com</a>&gt;</span> wrote:<br><div class="gmail_extra"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div style="word-wrap:break-word"><span><div><blockquote type="cite"><div>On Apr 21, 2017, at 11:48 AM, Xiaodi Wu via swift-evolution &lt;<a href="mailto:swift-evolution@swift.org" target="_blank">swift-evolution@swift.org</a>&gt; wrote:</div><br class="m_-7124958598957856837m_-9186835439891025487Apple-interchange-newline"><div><span style="font-family:Helvetica;font-size:12px;font-style:normal;font-variant-caps: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">This goes to my question to David Hart. Isn&#39;t this an argument for a feature to allow breaking a single-line string literal across multiple lines? What makes this a use case for some feature for _multiline_ string literals in particular?</span></div></blockquote><br></div></span><div>Well, if you&#39;re breaking a string across several lines, you will want indentation stripping too. Are you suggesting we should also bring that feature to single-line string literals with escaped newlines?</div></div></blockquote><div><br></div><div>No, I am suggesting that whatever design is used for escaped newlines, if at all possible it should be equally apt for &quot;strings&quot; and &quot;&quot;&quot;strings&quot;&quot;&quot; such that it will not require indentation stripping.</div><div><br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div style="word-wrap:break-word"><span class="m_-7124958598957856837HOEnZb"><font color="#888888"><br><div>
<span class="m_-7124958598957856837m_-9186835439891025487Apple-style-span" style="border-collapse:separate;color:rgb(0,0,0);font-family:Helvetica;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:normal;text-align:auto;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px"><div><div style="font-size:12px">-- </div><div style="font-size:12px">Brent Royal-Gordon</div><div style="font-size:12px">Architechies</div></div></span>

</div>
<br></font></span></div></blockquote></div><br></div></div>
</div></blockquote></div></div></div></blockquote></div><br></div></div>