Re: Where is 'tuple' in the language reference

2011-08-06 Thread Jonathan M Davis
On Saturday 06 August 2011 11:10:57 Jacob Carlborg wrote: > On 2011-08-05 11:10, Jonathan M Davis wrote: > > On Friday 05 August 2011 08:55:32 Steve Teale wrote: > >> I see the term used, but I can't find where it is defined. > > > > Probably nowhere. There are no built-in tuples in D. std.typecon

Re: Where is 'tuple' in the language reference

2011-08-06 Thread Lutger Blijdestijn
Steve Teale wrote: > I see the term used, but I can't find where it is defined. It's here: http://www.d-p-l.org/template.html#variadic-templates "A Tuple is not a type, an expression, or a symbol. It is a sequence of any mix of types, expressions or symbols." The language terminology is easily

Re: Where is 'tuple' in the language reference

2011-08-06 Thread Jacob Carlborg
On 2011-08-05 11:10, Jonathan M Davis wrote: On Friday 05 August 2011 08:55:32 Steve Teale wrote: I see the term used, but I can't find where it is defined. Probably nowhere. There are no built-in tuples in D. std.typecons.Tuple is probably what you're looking for. It's a struct which defines

Re: Where is 'tuple' in the language reference

2011-08-05 Thread Steve Teale
Then if they are just a library artifact, should the terms TypeTuple and \ ExpressionTuple be present in the language reference? Maybe 'tuple' can slip in, since it is a more generic term, but even that is doubtful since it causes people to hunt through the reference to see what facilities D provi

Re: Where is 'tuple' in the language reference

2011-08-05 Thread Jonathan M Davis
On Friday 05 August 2011 08:55:32 Steve Teale wrote: > I see the term used, but I can't find where it is defined. Probably nowhere. There are no built-in tuples in D. std.typecons.Tuple is probably what you're looking for. It's a struct which defines a tuple. There's also std.typetuple.TypeTuple

Re: Where is 'tuple' in the language reference

2011-08-05 Thread Vladimir Panteleev
On Fri, 05 Aug 2011 11:55:32 +0300, Steve Teale wrote: I see the term used, but I can't find where it is defined. http://d-programming-language.org/tuple.html You may find the newsgroup digitalmars.D.learn more appropriate for such questions :) -- Best regards, Vladimir

Where is 'tuple' in the language reference

2011-08-05 Thread Steve Teale
I see the term used, but I can't find where it is defined.