s/TypeTuple/AliasSeq/g?

Marc Schütz via Digitalmars-d digitalmars-d at puremagic.com
Wed Oct 21 09:17:44 PDT 2015


On Wednesday, 21 October 2015 at 16:00:57 UTC, Dicebot wrote:
> On Wednesday, 21 October 2015 at 13:53:48 UTC, Marc Schütz 
> wrote:
>>> When renaming `isExpressionsTuple`, I would think it more 
>>> appropriate to have "isExpressionSeq" since it's an 
>>> `AliasSeq` containing only expressions and no types.
>>
>> This should not be renamed, because an AliasSeq that consists 
>> only of expressions _is_ a tuple.
>
> It isn't. Not a single bit more than any other AliasSeq at 
> least.

For me, a tuple is a finite ordered collection of values of 
arbitrary type, which can be identified and accessed by their 
index.

Which definition of tuple are you using that doesn't apply to 
e.g. `AliasSeq!(42, "foo")`?


More information about the Digitalmars-d mailing list