Discussion Thread: DIP 1036--String Interpolation Tuple Literals--Community Review Round 2

Steven Schveighoffer schveiguy at gmail.com
Tue Feb 2 14:32:04 UTC 2021

On 2/2/21 8:06 AM, Andrei Alexandrescu wrote:
> On 2/1/21 12:52 PM, Adam D. Ruppe wrote:
>> On Monday, 1 February 2021 at 17:06:36 UTC, Paul Backus wrote:
>>> No, you've added an extra level of quoting by mistake.
>> oh yeah, that's right.
>> So we could prolly just define the stringof of interp to be slightly 
>> less crazy (the source version either being the proper fqn or the 
>> literal itself) and then there's no special case in mixin.
> Thought: std.bitmanip.bitfields has some gnarly code that generates 
> shifting and masking code for bitfields. It would be great to show how 
> that code is vastly improved by the DIP.

Yes, that is a great idea for a use case. Thanks for the pointer!


More information about the Digitalmars-d mailing list