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

H. S. Teoh hsteoh at quickfur.ath.cx
Thu Dec 12 16:46:06 UTC 2019


On Thu, Dec 12, 2019 at 03:41:54PM +0000, aliak via Digitalmars-d wrote:
> On Thursday, 12 December 2019 at 13:36:38 UTC, Adam D. Ruppe wrote:
> > BTW the JS one is actually quite interesting. It calls a
> > user-defined function, passing the arguments - similar to the D
> > tuple thing.
> 
> Except you can actually assign it to a string?
[...]

As Adam already said, you can assign it to a string if the return type
has alias this to string.


T

-- 
One reason that few people are aware there are programs running the internet is that they never crash in any significant way: the free software underlying the internet is reliable to the point of invisibility. -- Glyn Moody, from the article "Giving it all away"


More information about the Digitalmars-d mailing list