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

Steven Schveighoffer schveiguy at gmail.com
Wed Jan 27 12:39:34 UTC 2021


On 1/27/21 6:43 AM, jmh530 wrote:
> On Wednesday, 27 January 2021 at 10:33:53 UTC, Mike Parker wrote:
>> [snip]
> 
> More typos ("which" should be "that" in all)
> 
> 
> Functions which accept an appropriate string type will work with string 
> interpolation literals due to the rewrite by the compiler to the idup call.
> 
> The second use case is for functions which can process the data without 
> needing a string translation.
> 
> However, functions which accept interp literals will work in BetterC as 
> long as the interp template is available.
> 
> The interpolated string struct should contain its own arguments; the 
> proposed approach of rewriting to <interplationSpec>, arg1, arg2 is 
> confusing and prohibits implementing functions which accept two 
> interpolated string arguments.

Thanks. As I said, grammar is not my strong suit :P

-Steve


More information about the Digitalmars-d mailing list