Pair literal for D language
Timon Gehr via Digitalmars-d
digitalmars-d at puremagic.com
Sat Jun 28 14:22:13 PDT 2014
On 06/28/2014 09:40 PM, deadalnix wrote:
> On Friday, 27 June 2014 at 05:45:19 UTC, H. S. Teoh via Digitalmars-d
> wrote:
>>> We'd make a step forward when we stop calling type tuples type tuples.
>>> They are not tuples, and do not contain (only) types.
>>
>> I agree, but that's what they're called in the compiler source code, so
>> it's kinda hard to call them something else.
>>
>
> http://www.reddit.com/r/programming/comments/298vtt/dconf_2014_panel_with_walter_bright_and_andrei/ciiw5zb
>
>
> :(
Well, there are many things that could be considered tuples:
void foo(int x, int y){
// ^~~~~~~~~~~~~~
}
void main(){
foo(1,2);
// ^~~~~
}
:o)
More information about the Digitalmars-d
mailing list