polymertype
Polymertype is a concept in programming language theory describing a type that can stand for more than one concrete type. Polymorphic types enable generic programming by allowing definitions to operate on values of different types without being rewritten for each type.
There are several forms of polymorphism. Parametric polymorphism uses type variables to describe functions or data
Formal representation often uses universal quantification, as in System F, where a polytype may be written
Examples in modern languages include parametric polymorphism in Haskell and ML through generic functions and data
See also: polymorphism, type system, parametric polymorphism, ad-hoc polymorphism, Hindley-Milner type system, System F.