Discussion Thread: DIP 1036--Formatted String Tuple Literals--Community Review Round 1

Adam D. Ruppe destructionator at gmail.com
Sun Sep 13 13:03:23 UTC 2020

On Sunday, 13 September 2020 at 10:20:19 UTC, Paul Backus wrote:
> On Sunday, 13 September 2020 at 03:00:34 UTC, Yuxuan Shui wrote:
>> Couldn't this be implemented entirely in library?
> Yes, but not with exactly the same syntax. The library version 
> looks like this:
> writeln(mixin(i!"Hello $name!"));

That's not the same. mixin cannot create tuples.

More information about the Digitalmars-d mailing list