[swift-evolution] multi-line string literals

Andrey Tarantsov andrey at tarantsov.com
Mon Dec 14 16:51:52 CST 2015


> BUT... And this is a massive but... It -would- tie into the discussion that currently exists for typed literals (something i'm currently mostly ignorant of and would love to hear more about). Especially since it would put the qualifier in front of the literal.

I'm basically expecting a prefix like r'c:\program files\swift\swift.exe' to be the best solution. :-)

And yes, would be nice to have other and user-defined prefixes, although I would say that it should wait until a proper macro support. A user-definable prefix *is* a simple form of a macro, after all.

A.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.swift.org/pipermail/swift-evolution/attachments/20151215/b2e5cb6d/attachment.html>


More information about the swift-evolution mailing list