-
tuple
鎖定
- 中文名
- 元組,數組
- 外文名
- tuple
- 英式音標
- tʌpl
- 美式音標
- tʌpl
- 詞 性
- 名詞
雙語例句
用作名詞 (n.)
- Eachtupleis a vector of members.
每個元組是一個成員向量。 - This statement lets you update atuplewith a specific value.
此語句允許您用特定值更新元組。 - The if condition after the tuple is a guard.這個元組後面的if條件是一個守衞。
- We're matching on particular kinds of person objects inside the enclosing tuple.我們在閉合元組裏匹配特定類型的person對象。
- Returns a member from a specified tuple.從指定的元組中返回成員。
- In the second case in this example, we've extracted the values inside the tuple to scoped variables,then reused these variables in the resulting expression.例子裏的第二個case,我們已經解出了元組裏的值並且附給了局部變量,然後在結果表達式中使用了這些變量。
- Or you can use a tuple in an expression to explicitly refer to the members specified in the tuple.
- 參考資料
-
- 1. tuple是什麼意思 .海詞詞典[引用日期2016-09-23]