| word looked up : | home / archive |
Type theory : Type (logic)This article should be merged with datatypeAt the broadest level, type theory is the branch of mathematics and logic that concerns itself with classifying entities into sets called types. In this sense, it is related to the metaphysical notion of 'type'. Modern type theory was invented partly in response to Russell's paradox, and features prominently in Russell and Whitehead's Principia Mathematica. With the rise of powerful programmable computers, and the development of programming languages for same, type theory has found practical application in the development of programming language type systems. Definitions of "type system" in the context of programming languages vary, but the following definition due to Benjamin C. Pierce[?] roughly corresponds to the current consensus in the type theory community:
In other words, a type system divides program values into sets called types (this is called a "type assignment"), and makes certain program behaviors illegal on the basis of the types that are thus assigned. For example, a type system may classify the value "hello" as a string and the value 5 as a number, and prohibit the programmer from adding "hello" to 5 based on that type assignment. In this type system, the program
"hello" + 5 would be illegal. Hence, any program permitted by the type system would be provably free from the erroneous behavior of adding strings and numbers. The design and implementation of type systems is a topic nearly as broad as the topic of programming languages itself. In fact, type theory proponents commonly proclaim that the design of type systems is the very essence of programming language design: "Design the type system correctly, and the language will design itself."
| |||
Note that type theory, as described herein, refers to static typing disciplines. Programming systems and languages that employ dynamic typing do not prove the absence of any program behavior; they merely raise an error at runtime, when the program attempts to execute this behavior. Some claim that "dynamic typing" is a misnomer for this reason. In any case, the two should not be confused.
temps avec un eventail a fleurs chinoises, ne/ne.html">ne/ne.html">ne/ne.html">ne faisait que remuer sur
poitrines ne voulaient plus.html">plus.
Quelquefois, il lui prenait des rages desesperees pour sortir de ce
la-haut, essayer de revivre... Oh! les autres, qui couraient dans les
pour s'en aller n'aboutissait qu'a un soulevement de sa tete et de son
fait pendant.html">pendant le sommeil. - Eh! non, il ne pouvait plus; il retombait
chaque fois apres la fatigue d'une telle secousse, il perdait pour un
encore dangereux, la mer n'etant pas assez calmee. C'etait le soir,
lumiere seulement, de l'eblouissante lumiere rouge. Le soleil couchant
d'un
eclairait cet hopital en vacillant, comme une torche que l'on balance.
De l'air, non, il n'en vint point; le peu qu'il y en avait dehors etait
a l'infini, sur cette mer equatoriale, ce n'etait qu'humidite chaude,
mourants qui haletaient.
... Une derniere vision l'agita beaucoup: sa vieille grand'mere,
dechirante; la pluie tombait sur elle.html">elle, de nuages bas et funebres; elle
informee qu'il etait mort.html">mort.
Il se/se.html">se debattait maintenant; il ralait. On epongeait aux coins de sa
flots, pendant ses contorsions d'agonie. Et le soleil magnifique
monde, avec du sang plein les nuages; par le trou de ce sabord ouvert
Sylvestre, faire un nimbe autour de lui.
... A ce moment, ce soleil se voyait aussi, la-bas, en Bretagne, ou
precis de sa duree sans fin; la, pourtant, il avait une couleur tres
d'une douce lumiere blanche la grand'-mere Yvonne, qui travaillait a
minute de mort.
Pali davantage, on eut dit qu'il ne parvenait a etre vu la que par une
.
On
wordlookup.net
All is still licensed under the GNU FDL.
It uses material from the wikipedia.
|
|