Sõna tuple tõlge inglise-leedu
Sõna tuple tähendused
- A finite sequence of terms
- A single row in a relational database
- In some programming languages, a data type that is similar but distinct from the list data type, whose instances are characterized by having a rather fixed arity, and the elements of which instances can differ from each other by data type. (''Note'': this definition may overlap with the previous one
Näited
- If commutativity were added to a tuple, it would turn into a multiset or "bag". For example, words (of some alphabetic language) can be considered to be tuples of letters. If the ordering requirement on those letters were lifted, then the word would become a multiset of letters equivalent to those of its anagrams.
- Both Python and Haskell have a tuple data type as well as a list data type.
- Unlike lists, tuples are not formed by consing.
Populaarsed tõlked
Parimad sõnaraamatud