A Discussion of Tuple Syntax

Dicebot public at dicebot.lv
Tue Aug 20 16:10:59 PDT 2013


On Tuesday, 20 August 2013 at 21:25:11 UTC, Andrei Alexandrescu 
wrote:
> Ionno so I just summarized it.
>
>
> Andrei

I guess  I need just deal with it and accept as given then :) 
Okay, it does not really change much for main issue I wanted to 
pay attention to - thin edge between run-time expression tuples 
and compile-time ones.

Only problematic moment I can see so far is that compile-time 
tuples can contain both types and expressions at the same time. 
But this can be solved by considering them non-instantiatable 
type tuples - similar to existing handling. Or just call them 
"template argument lists" to be 100% straight and reserve word 
"tuple" for expression tuple while preserving "typeof" relation 
(and enhancing expression tuples with ABI).

Sounds like dreaming? :)


More information about the Digitalmars-d mailing list