Tuple/TypeTuple etc.
Ali Çehreli
acehreli at yahoo.com
Fri Aug 16 11:29:20 PDT 2013
On 08/16/2013 11:21 AM, H. S. Teoh wrote:
> On Fri, Aug 16, 2013 at 11:10:28AM -0700, Ali Çehreli wrote:
>> On 08/16/2013 09:27 AM, H. S. Teoh wrote:
>>
>>> The so-called "typetuple" (what dmd calls a "tuple") is a
>>> compile-time construct that can contain types, aliases, compile-time
>>> values, etc., that only exist at compile-time.
>>
>> They are all symbols, right? And symbols live only at compile time.
>>
>> ...
>>
>>> "Sequence" is OK, but risks confusion with std.range.sequence. Is
>>> there a better word for it? Maybe an acronym -- CTS (compile-time
>>> sequence)?
>>
>> SymbolTuple it is! :)
> [...]
>
> +1, I like this! I still don't like the use of "tuple",
Same here: tuple is confusing. :/
I also thought about SymbolList but then it doesn't go well with random
accessing its elements.
> but I think
> "symbol" makes it abundantly clear what these things are.
>
> I vote for SymbolTuple.
Me too! :p
Ali
More information about the Digitalmars-d
mailing list