tuple

noun — 4 senses

tuple

noun

UK /ˈtʊpəl/ · US /ˈtuːpəl/

Etymology From the ending of the words quintuple, sextuple; from Latin -plus.

1

Mathematics, Sciences, Set theory A finite sequence of terms.

2

Computing, Databases, Engineering, Mathematics, Natural sciences, Physical sciences, Sciences A single row in a relational database.

3

Computing, Engineering, Mathematics, Natural sciences, Physical sciences, Sciences A set of comma-separated values passed to a program or operating system as a parameter to a function call.

4

Computing, Engineering, Mathematics, Natural sciences, Physical sciences, Programming, Sciences A fixed-size container data type similar to a list that can hold different types of elements.

  • Both Python and Haskell have a tuple data type as well as a list data type.
  • Unlike lists, tuples are not formed by consing.
Related terms
-tuple, tuplet

Entry derived from the Wiktionary, under licence CC BY-SA 4.0 — list of authors.