Multiline template strings that don't break indentation

Kevin Smith zenparsing at gmail.com
Fri Sep 12 10:02:20 PDT 2014


>
>
> Agreed, although I *would* like to see something very similar to
> Kevin's implementation added to the standard library
> (`String.dedent`?), so that a million authors don't reinvent the
> dedent function in multiple slightly-different ways.
>

Yes - it sounds like it might be a good cowpath to pave once the cows have
been set loose.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.mozilla.org/pipermail/es-discuss/attachments/20140912/1aaf7874/attachment.html>


More information about the es-discuss mailing list