DIP 1027---String Interpolation---Community Review Round 1
MrSmith
mrsmith33 at yandex.ru
Wed Dec 11 11:01:58 UTC 2019
On Wednesday, 11 December 2019 at 10:57:13 UTC, Alexandru
Ermicioi wrote:
> Why not just split interpolated string into just a tuple of
> args & strings. For example:
> Given: (i"I ate %apples and %bananas totalling %(apples +
> bananas) fruit.")
> Is lowered to a tuple: ("I ate ", apples, " and ", bananas,"
> totalling ", apples + bananas," fruit.")
That's an option, but one would also need to figure out handling
of format specifiers
More information about the Digitalmars-d
mailing list