DIP 1027---String Interpolation---Community Review Round 1

Ola Fosheim Grøstad ola.fosheim.grostad at gmail.com
Wed Dec 11 20:28:21 UTC 2019


On Wednesday, 11 December 2019 at 19:15:18 UTC, Meta wrote:
> The main sticking point is that you have to write 
> mixin(interp!"....") so the symbols will be looked up in the 
> proper scope. Unfortunately, that also means that the above 
> syntax is the best a library solution can do, currently.

Maybe "mixin" could be a return type requiring CTFE and 
re-evaluated in the calling context?  A bit dangerous perhaps.



More information about the Digitalmars-d mailing list