Semi-Explicit First-Class Polymorphism for ML
Semi-Explicit First-Class Polymorphism for ML
复制标题
ML 的半显式一流多态性
DOI:
--
复制
发表时间:
1999
影响因子:
1
通讯作者:
Didier Rémy
中科院分区:
文献类型:
--
作者:
Jacques Garrigue;Didier Rémy
We propose a modest conservative extension to ML that allows semi-explicit first-class polymorphism while preserving the essential properties of type inference. In our proposal, the introduction of polymorphic types is fully explicit, that is, both introduction points and exact polymorphic types are to be specified. However, the elimination of polymorphic types is semi-implicit: only elimination points are to be specified as polymorphic types themselves are inferred. This extension is particularly useful in objective ML where polymorphism replaces subtyping.