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

Adam D. Ruppe destructionator at gmail.com
Thu Feb 4 17:14:31 UTC 2021


On Thursday, 4 February 2021 at 17:04:20 UTC, Meta wrote:
> Your response confuses me a bit, so can you define "not 
> actually do anything with it"? You'd do all the normal things 
> you do with strings. Print them, parse them, replace sequences, 
> etc.

So you'd pass them to functions. Which, with a mature library 
ecosystem, doesn't actually need anything beyond the naked tuple! 
It would just work without any conversions.

Heck, functions like `writeln` and `text` already just work in 
the POC with no implicit conversions at all, no explicit library 
overlaods. And you can use those to do the translation anyway 
when you do need it.


More information about the Digitalmars-d mailing list