NobleBlocks

Research indexJournal article

Another Type Inference Algorithm for First-Class Implicit Polymorphism

Morris

Proceedings of the ACM on Programming Languages17 Aug 2026Open access

NobleIDark:/48914/w1/20261105/93BB5C84DOI10.1145/3828702

Free to read at the publisher

You can read the abstract here, or the full text at the publisher.

Read at the publisher

Abstract

We propose yet another approach to type inference with first-class implicit polymorphism, based on the interleaving of an Algorithm ℳ-style constraint-generating elaboration of terms and a solver for the generated constraints. The novelty of our approach is that types include explicit syntactic representations of unknown polymorphic types during type inference. Solving unification constraints with unknown polymorphic types also computes type arguments for the elaborated terms. The resulting system is uniform, simple, extends to support domain-specific constraints, and compares favorably with other approaches to first-class implicit polymorphism.

Citations

More

Suggest a correction or report