[swift-evolution] [Review] SE-0168: Multi-Line String Literals

David Sweeris davesweeris at mac.com
Thu Apr 13 12:47:12 CDT 2017


> On Apr 13, 2017, at 10:41, Adrian Zubarev <adrian.zubarev at devandartist.com> wrote:
> 
> Was the / intended or did you meant to write \?
> 
> Personally I don’t think we’d need that behavior and can fallback to the natural way using a blank lines or explicit way using the \n character to solve that issue at the top or bottom of the multi-line string. The model I’m pushing already would support “paste-in block of text as-is”. :)
> 
Hah, oops, yeah. Although maybe the "/" would be better for the closing """, since that one affects whether the preceding "\n" character is escaped.

- Dave Sweeris
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.swift.org/pipermail/swift-evolution/attachments/20170413/42c2695f/attachment.html>


More information about the swift-evolution mailing list