英文字典中文字典


英文字典中文字典51ZiDian.com



中文字典辞典   英文字典 a   b   c   d   e   f   g   h   i   j   k   l   m   n   o   p   q   r   s   t   u   v   w   x   y   z       







请输入英文单字,中文词皆可:

tuple    
元组

元组

tuple
有序n 元; n 重序元


tuple
n 倍; n 元组; n 元数; n 元向量


tuple
重元组

tuple
元

In {functional languages}, a data object containing two or
more components. Also known as a product type or pair,
triple, quad, etc. Tuples of different sizes have different
types, in contrast to lists where the type is independent of
the length. The components of a tuple may be of different
types whereas all elements of a list have the same type.
Examples of tuples in {Haskell} notation are (1,2),
("Tuple",True), (w,(x,y),z). The degenerate tuple with zero
components, written (), is known as the unit type since it has
only one possible value which is also written ().

The implementation of tuples in a language may be either
"{lifted}" or not. If tuples are lifted then (bottom,bottom)
/= bottom and the evaluation of a tuple may fail to terminate.
E.g. in Haskell:

f (x,y) = 1 --> f bottom = bottom
f (bottom,bottom) = 1

With lifted tuples, a tuple pattern is refutable. Thus in
Haskell, {pattern matching} on tuples is the same as pattern
matching on types with multiple constructors ({algebraic data
types}) - the expression being matched is evaluated as far as
the top level constructor, even though, in the case of tuples,
there is only one possible constructor for a given type.

If tuples are unlifted then (bottom, bottom) = bottom and
evaluation of a tuple will never fail to terminate though any
of the components may. E.g. in {Miranda}:

f (x,y) = 1 --> f bottom = 1
f (bottom,bottom) = 1

Thus in Miranda, any object whose type is compatible with a
tuple pattern is assumed to match at the top level without
evaluation - it is an {irrefutable} pattern. This also
applies to user defined data types with only one constructor.
In Haskell, patterns can be made irrefutable by adding a "~"
as in

f ~(x,y) = 1.

If tuple constructor functions were {strict} in all their
arguments then (bottom,x) = (x,bottom) = bottom for any x so
matching a refutable pattern would fail to terminate if any
component was bottom.


请选择你想看的字典辞典:
单词字典翻译
tuple查看 tuple 在百度字典中的解释百度英翻中〔查看〕
tuple查看 tuple 在Google字典中的解释Google英翻中〔查看〕
tuple查看 tuple 在Yahoo字典中的解释Yahoo英翻中〔查看〕





安装中文字典英文字典查询工具!


中文字典英文字典工具:
选择颜色:
输入中英文单字

































































英文字典中文字典相关资料:


  • France - Wikipedia
    France retains its centuries-long status as a global centre of art, science, cuisine and philosophy It hosts the fourth-largest number of UNESCO World Heritage Sites, with 54 in total, and is the world's leading tourist destination, having received 102 million foreign visitors in 2025
  • France | History, Maps, Flag, Population, Cities, Capital, Facts . . .
    France, a country of northwestern Europe, is historically and culturally among the most important countries in the Western world It has also played a highly significant role in international affairs for centuries
  • France — Wikipédia
    Depuis la promulgation de la constitution de la Cinquième République en 1958, la France est une république constitutionnelle unitaire ayant un régime semi-présidentiel Elle a pour capitale Paris et pour langue officielle le français, langue de l'administration depuis 1539
  • Why are there protests in France? The unrest, explained
    France has a long history of civil protest, where strikes and marches occur relatively frequently, but the intense violence over the weekend has gripped the country
  • France Map | Discover France with Detailed Maps
    Description: This map shows governmental boundaries of countries; regions, regions capitals and major cities in France
  • France promises ‘massive’ police presence this weekend as . . . - CNN
    French authorities promised a “massive” police presence for planned protests on Saturday and imposed localized curfews for a second consecutive night as the country grapples with the fallout from
  • France. fr : Explore France and its wonders - Explore France
    From Provence to Brittany, via the Loire Valley and the Dordogne Valley, the French countryside promises a break filled with relaxation and well-being When the weather is nice, head to France’s cities! Strolls, new discoveries, and culinary delights await you around every corner
  • France — Facts, Capital, Population, Flag Profile
    France has the world's seventh-largest economy by nominal GDP and the second-largest in the European Union, characterized by a diversified mix of private enterprise and significant state involvement
  • France 24 - International breaking news, top stories and headlines
    Breaking news and world news from France 24 on Business, Sports, Culture Video news News from the US, Europe, Asia Pacific, Africa, Middle East, America
  • History of France - Wikipedia
    The first written records for the history of France appeared in the Iron Age What is now France made up the bulk of the region known to the Romans as Gaul Greek writers noted the presence of three main ethno-linguistic groups in the area: the Gauls, Aquitani and Belgae





中文字典-英文字典  2005-2009