A 3-part type inference engine

被引:0
|
作者
Pottier, F [1 ]
机构
[1] Inst Natl Rech Informat & Automat, Rocquencourt, F-78153 Le Chesnay, France
关键词
D O I
暂无
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
Extending a subtyping-constraint-based type inference framework with conditional constraints and rows yields a powerful type inference engine. We illustrate this claim by proposing solutions to three delicate type inference problems: "accurate" pattern matchings, record concatenation, and "dynamic" messages. Until now, known solutions required significantly different techniques; our theoretical contribution is in using only a single (and simple) set of tools. On the practical side, this allows all three problems to benefit from a common set of constraint simplification techniques, leading to efficient solutions.
引用
收藏
页码:320 / 335
页数:16
相关论文
共 50 条