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 · 术语表
什么是 Type variable, type scheme, parametric polymorphism?
又称: type variable · type scheme · parametric polymorphism · let-polymorphism