A Discussion of Tuple Syntax

Andrei Alexandrescu SeeWebsiteForEmail at erdani.org
Mon Aug 19 11:11:33 PDT 2013


On 8/19/13 10:54 AM, Dicebot wrote:
> On Monday, 19 August 2013 at 17:45:44 UTC, H. S. Teoh wrote:
>> On Mon, Aug 19, 2013 at 07:34:38PM +0200, Dicebot wrote:
>>> On Monday, 19 August 2013 at 17:22:26 UTC, H. S. Teoh wrote:
>>> >What I'd like to know, is how all of these proposals address >the
>>> >fundamental differences between "symbol tuples" (compile-time
>>> >construct)
>>>
>>> Those are not symbol tuples. For example, `int` is not a symbol.
>>> http://dlang.org/template.html#Symbol - only things that have
>>> identifiers and template instances are symbols.
>>
>> Well, OK, whatever they're supposed to be called. Compiler-tuples, or
>> expression tuples, or whatever.
>
> Well, technically they are compile-time tuples of stuff.

I'd call them alias tuples.

Andrei



More information about the Digitalmars-d mailing list