The state of string interpolation

Daniel Kozak kozzi11 at gmail.com
Thu Dec 6 08:57:27 UTC 2018


wow I did not know that.
P.S. ** should be ^^ right?

On Thu, Dec 6, 2018 at 3:55 AM Adam D. Ruppe via Digitalmars-d <
digitalmars-d at puremagic.com> wrote:

> On Thursday, 6 December 2018 at 02:14:12 UTC, Neia Neutuladh
> wrote:
> > However, that would also force druntime to include formatting
> > code that it currently lacks.
>
> Not necessarily. There is precedent in the language for a
> built-in feature actually lowering to a Phobos call: the **
> operator is translated to std.math.pow.
>
> The interpolate thing could very well be translated to a call to
> std.conv.text.
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.puremagic.com/pipermail/digitalmars-d/attachments/20181206/eaf51e88/attachment.html>


More information about the Digitalmars-d mailing list