Just another example of missing string interpolation

bachmeier no at spam.net
Fri Oct 13 17:31:29 UTC 2023


On Friday, 13 October 2023 at 15:16:27 UTC, kdevel wrote:

>> either because you potentially have `${something}` as part of 
>> the final string,
>
> How do you convey that intent inside the string? `format` does 
> it by
> estabilishing a special syntax for `%` (`%%` -> `%`).

I don't need to.

> How do you handle that case with DIP 1027?
>
> And reminder: How do you implement your `interp` function in 
> terms of
> DIP 1027's string interpolation?

I don't know, but I also don't know why I would want to, because 
DIP 1027 was not accepted.


More information about the Digitalmars-d mailing list