Pair literal for D language

Dicebot via Digitalmars-d digitalmars-d at puremagic.com
Sun Jun 29 14:24:14 PDT 2014


On Sunday, 29 June 2014 at 20:44:06 UTC, Tofu Ninja wrote:
> On Sunday, 29 June 2014 at 16:09:15 UTC, Dicebot wrote:
>> On Sunday, 29 June 2014 at 16:03:07 UTC, Mason McGill wrote:
>>> I understand, but I was talking about `var` being referred to 
>>> as
>>> a `TemplateArgumentList` when it's not used as such. It's 
>>> used as
>>> an `ArgumentList`, just not a `TemplateArgumentList`.
>>
>> Why do you expect template argument list to be used only as 
>> argument to templates? Anything that matches 
>> http://dlang.org/grammar#TemplateArgumentList can be called 
>> one.
>
> Your argument is nice and all, but can you really not see how
> calling it a TemplateArgumentList could cause confusion when it
> is not used as a template argument. We should be striving for
> clarity here.

I am honestly trying to understand people thought flow goes that 
makes them expect such things :) That may help to come with 
better idea (no currently proposed name is any good)


More information about the Digitalmars-d mailing list