Used in a Sentence

tuple

Definitions, parts of speech, synonyms, and sentence examples for tuple.

Editorial note

Their main distinction seems to be that a future is a 3-tuple (process, cell, queue).

Examples16
Definitions4
Parts of speech1

Quick take

(databases) A single row in a relational database.

Meaning at a glance

The clearest senses and uses of tuple gathered in one view.

noun

(databases) A single row in a relational database.

noun

(programming) A fixed-size container data type similar to a list that can hold different types of elements.

noun

(set theory) A finite sequence of terms.

Definitions

Core meanings and parts of speech for tuple.

noun

(databases) A single row in a relational database.

noun

(programming) A fixed-size container data type similar to a list that can hold different types of elements.

noun

(set theory) A finite sequence of terms.

noun

(computing) A set of comma-separated values passed to a program or operating system as a parameter to a function call.

Example sentences

1

Their main distinction seems to be that a future is a 3-tuple (process, cell, queue).

2

If the value is interpreted as a tuple and has a predetermined form, then you can get to a relational (or SQL) database.

3

A more idiomatic way to handle this is to arrange the items in the tuple by sort precedence, then restructure the data in the tuple after the sort.

4

There is very little visibility as to how the code is compiled - i.e should I use a list or a tuple for some things?

5

The tuple of <from,to,id> is good enough for this, though clients aren't mandated to send an identifier.

6

You can totally just start coding, and then later peel out this tuple into a named type and such.

7

The tuple (Full Name, Date of birth, Place of birth) ought to be a suitable unique subject for an individual.

8

Yeah, for and while loops can be done with a simple fold - accumulating a tuple.

9

You might say `°` is an operation too, but it lives at the metalevel, and it's still enclosed in the (tuple-declaration).

10

That's mostly subjective, (a,b, °c) is a tuple of a, b and the rest being the sequence c.

11

I've found that many times my usage of set and list is more appropriate as their immutable counterparts (frozenset, tuple).

12

I wonder if buckets could be represented as lists stored inside a tuple or another list...

Quote examples

1

And again, explaining difference to newbies is painful ("tuple is a handicapped list").

2

One can argue that their future meets the "read-only view" definition because cell is only to be written to by the same tuple's process.

3

I did find that using the example relx.config, I could never past the "No goals specified for this release..." error as long as the app goals list in the release tuple was empty.

4

I hadn't seen before the shareholder value / CEO compensation tuple connected to an academic paper: "[...] dating back to 1976 [...] when Michael Jensen and William Meckling of the University of Rochester published in the Journal of Financial Economics their paper Theory of the Firm: Managerial Behavior, Agency Costs and Ownership Structure.

Frequently asked questions

Short answers drawn from the clearest meanings and examples for this word.

How do you use tuple in a sentence?

Their main distinction seems to be that a future is a 3-tuple (process, cell, queue).

What does tuple mean?

(databases) A single row in a relational database.

What part of speech is tuple?

tuple is commonly used as noun.