Tuple/TypeTuple etc.
H. S. Teoh
hsteoh at quickfur.ath.cx
Fri Aug 16 11:21:57 PDT 2013
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", but I think
"symbol" makes it abundantly clear what these things are.
I vote for SymbolTuple.
T
--
Живёшь только однажды.
More information about the Digitalmars-d
mailing list