Wait, what? What is AliasSeq?

HaraldZealot via Digitalmars-d digitalmars-d at puremagic.com
Wed Jul 8 02:53:38 PDT 2015


On Wednesday, 8 July 2015 at 09:13:27 UTC, Jonathan M Davis wrote:
> On Wednesday, 8 July 2015 at 08:59:15 UTC, deadalnix wrote:
>
> Yeah. Every name sucks. Alias seems to solve the first half of 
> the name reasonably well, but nothing that anyone has come up 
> with really solves the second half.
>
> [...]
>
> Array (as Andrei has suggested) is already a very overloaded 
> term in D, and it implies a runtime data structure, which this 
> isn't. Certainly, when folks think of arrays, they're not going 
> to think of anything like TypeTuple/AliasSeq.
>
> List is by far the most generic, but it doesn't imply 
> indexability, so Walter doesn't like - though Seq doesn't imply 
> indexability either, so if that's his complaint, I don't see 
> how it makes much differences whether we go with List or Seq. 
> They seem pretty interchangeable to me.
>
> [...]
>
> - Jonathan M Davis

Perhaps in such case we are going to invent new word? How about a 
kind of portmoneu word? For example tree + heap => treap. And we 
can have alias+list => aliast. No one have such word before an no 
impure association.



More information about the Digitalmars-d mailing list