A type variable stands for an unknown type; we print them 'a, 'b, …. A type scheme is a type with some of its variables quantified: it stands for every type obtained by replacing them, its instances. A function is parametrically polymorphic if it has a type scheme, one code for all the instances. Let-polymorphism gives schemes to variables bound by let, and only types to variables bound by .
Computer Science · Begrippenlijst
Wat is Type variable, type scheme, parametric polymorphism?
Ook bekend als: type variable · type scheme · parametric polymorphism · let-polymorphism