About: Type variable     Goto   Sponge   NotDistinct   Permalink

An Entity of Type : owl:Thing, within Data Space : dbpedia.org associated with source document(s)
QRcode icon
http://dbpedia.org/describe/?url=http%3A%2F%2Fdbpedia.org%2Fresource%2FType_variable

In type theory and programming languages, a type variable is a mathematical variable ranging over types. Even in programming languages that allow mutable variables, a type variable remains an abstraction, in the sense that it does not correspond to some memory locations. # let id x = x;;val id : 'a -> 'a = In mathematical notation, the type of the function id is , where is a type variable.

AttributesValues
rdfs:label
  • Zmienna typowa (pl)
  • Переменная типа (ru)
  • Type variable (en)
  • Змінна типу (uk)
rdfs:comment
  • Переменная типа (ти́повая переменная) в языках программирования и теории типов — переменная, которая может принимать значение из множества типов данных. Ти́повая переменная используется в определении алгебраического типа данных подобно тому, как используется параметр в определении функции, но используется для передачи типа данных без передачи самих данных. В качестве идентификаторов ти́повых переменных в теории типов традиционно используются буквы греческого алфавита (хотя многие языки программирования используют латиницу и допускают и более длинные именования). (ru)
  • Zmienna typowa to zmienna której wartościami mogą być typy - zwykle istnieje tylko na potrzeby kompilacji,nie jest natomiast typową zmienną zajmującą pamięć i modyfikowalną w trakcie uruchamiania programu. Np. w poniższym fragmencie C++ T jest zmienną typową: template void swap (T&a, T&b) { T c; c = a; a = b; b = c;} (pl)
  • In type theory and programming languages, a type variable is a mathematical variable ranging over types. Even in programming languages that allow mutable variables, a type variable remains an abstraction, in the sense that it does not correspond to some memory locations. # let id x = x;;val id : 'a -> 'a = <fun> In mathematical notation, the type of the function id is , where is a type variable. (en)
dcterms:subject
Wikipage page ID
Wikipage revision ID
Link from a Wikipage to another Wikipage
sameAs
dbp:wikiPageUsesTemplate
has abstract
  • In type theory and programming languages, a type variable is a mathematical variable ranging over types. Even in programming languages that allow mutable variables, a type variable remains an abstraction, in the sense that it does not correspond to some memory locations. Programming languages that support parametric polymorphism make use of universally quantified type variables. Languages that support existential types make use of existentially quantified type variables. For example, the following OCaml code defines a polymorphic identity function that has a universally quantified type, which is printed by the interpreter on the second line: # let id x = x;;val id : 'a -> 'a = <fun> In mathematical notation, the type of the function id is , where is a type variable. (en)
  • Переменная типа (ти́повая переменная) в языках программирования и теории типов — переменная, которая может принимать значение из множества типов данных. Ти́повая переменная используется в определении алгебраического типа данных подобно тому, как используется параметр в определении функции, но используется для передачи типа данных без передачи самих данных. В качестве идентификаторов ти́повых переменных в теории типов традиционно используются буквы греческого алфавита (хотя многие языки программирования используют латиницу и допускают и более длинные именования). (ru)
  • Zmienna typowa to zmienna której wartościami mogą być typy - zwykle istnieje tylko na potrzeby kompilacji,nie jest natomiast typową zmienną zajmującą pamięć i modyfikowalną w trakcie uruchamiania programu. Np. w poniższym fragmencie C++ T jest zmienną typową: template void swap (T&a, T&b) { T c; c = a; a = b; b = c;} (pl)
prov:wasDerivedFrom
page length (characters) of wiki page
foaf:isPrimaryTopicOf
is Link from a Wikipage to another Wikipage of
is foaf:primaryTopic of
Faceted Search & Find service v1.17_git139 as of Feb 29 2024


Alternative Linked Data Documents: ODE     Content Formats:   [cxml] [csv]     RDF   [text] [turtle] [ld+json] [rdf+json] [rdf+xml]     ODATA   [atom+xml] [odata+json]     Microdata   [microdata+json] [html]    About   
This material is Open Knowledge   W3C Semantic Web Technology [RDF Data] Valid XHTML + RDFa
OpenLink Virtuoso version 08.03.3330 as of Mar 19 2024, on Linux (x86_64-generic-linux-glibc212), Single-Server Edition (378 GB total memory, 53 GB memory in use)
Data on this page belongs to its respective rights holders.
Virtuoso Faceted Browser Copyright © 2009-2024 OpenLink Software