I don't recall where I first came across this word (it's been a while), but looking it up on the internet does show that there are a few different meanings for it. The way I am describing it (hopefully clear) has closer ties with relational database; where the fields are addressable by name and by ordinals (in a data access layer).
<br><br><a href="http://en.wikipedia.org/wiki/Tuple#Usage_in_computer_science">http://en.wikipedia.org/wiki/Tuple#Usage_in_computer_science</a> - describes a few different tuple uses. <br><br>Perhaps you are thinking of the ordinal-only tuple, which is quite similar to a vector?
<br><br><br><div><span class="gmail_quote">On 6/1/07, <b class="gmail_sendername">Robby Findler</b> <<a href="mailto:robby@cs.uchicago.edu">robby@cs.uchicago.edu</a>> wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Where did you get the word "tuple" from? It doesn't seem to be<br>ML-style tuples (which is where I am used to word from).<br><br>Robby<br><br>On 6/1/07, YC <<a href="mailto:yinso.chen@gmail.com">yinso.chen@gmail.com
</a>> wrote:<br>> IMO, Tuple is dissimilar from hash in that the fields are both named and<br>> ordered (like a struct - that's why I call it an anonymous struct), where as<br>> hashes have no guarantee on the order of the fields... in a way tuple is
<br>> similar to alist.<br>><br>> CTOR and dtor are needed for properly acquire and release external resources<br>> - but this might not be the scheme way... I don't know for sure yet.<br>><br>> yinso
<br>><br>> On 5/31/07, Carl Eastlund <<a href="mailto:cce@ccs.neu.edu">cce@ccs.neu.edu</a>> wrote:<br>> > On 6/1/07, YC <<a href="mailto:yinso.chen@gmail.com">yinso.chen@gmail.com</a>> wrote:<br>> > > Tuples differ from vectors that they are indexed both by name & numbers,
<br>> but<br>> > > if struct is a named vector, in that sense it won't really be different,<br>> > > except struct is opaque and hence better for building AST than vector<br>> IMHO.<br>> >
<br>> > Ok, you want tuples with labelled fields. Now they sound more like<br>> > hash tables on symbols or strings. Are they anything beyond that?<br>> ><br>> > --<br>> > Carl Eastlund<br>
> ><br>><br>><br>> _________________________________________________<br>> For list-related administrative tasks:<br>> <a href="http://list.cs.brown.edu/mailman/listinfo/plt-scheme">http://list.cs.brown.edu/mailman/listinfo/plt-scheme
</a><br>><br>><br></blockquote></div><br>