Joseph A. Zullo
2026.1.8Proceedings of the ACM on Programming Languages-PACMPL
tlooto Summary
Procedures for equational generalization and semiunification in arbitrary Boolean rings are contributed, enabling let generalization and polymorphic recursion in Boolean-kinded type inference.
Abstract
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.
Citation format
ZULLO, Joseph A. Let generalization, polymorphic recursion, and variable minimization in boolean-kinded type systems. Proceedings of the ACM on Programming Languages-PACMPL, 2026, 10(POPL): 33–63.