Let Generalization, Polymorphic Recursion, and Variable Minimization in Boolean-Kinded Type Systems. | AMiner
Let Generalization, Polymorphic Recursion, and Variable Minimization in Boolean-Kinded Type Systems.
Joseph A. Zullo
PROCEEDINGS OF THE ACM ON PROGRAMMING LANGUAGES-PACMPL(2026)
Purdue Univ
被引用0|浏览0
摘要
Recent research has demonstrated the effectiveness of extending the Hindley-Milner (HM) type system with Boolean kinds to support type inference for a wide variety of features. However, the means to support classic type system provisions such as local let generalization and polymorphic recursion is either limited or unknown for such extensions. This paper contributes procedures for equational generalization and semiunification in arbitrary Boolean rings, enabling let generalization and polymorphic recursion in Boolean-kinded type inference. Additionally, methods to minimize the number of bound Boolean type variables are developed to keep types small in these systems. Boolean-kinded HM extensions are exemplified with nullable reference types, and how to use the developed procedures to support let generalization and polymorphic recursion is outlined.
更多
查看译文
关键词
Damas-Hindley-Milner,Milner-Mycroft,type inference,let generalization,polymorphic recursion,Boolean unification,equational unification,semi-unification,many-sorted,equational theories of types