Abstract
We propose a new type inference algorithm for polymorphic programming languages based on the idea of delaying type substitution until type variables are referenced. The resulting algorithm is expected to be practically more efficient by avoiding repeated and redundant application of type substitutions and scanning large type terms. We establish the soundness of the algorithm. The algorithm has been implemented for the full set of Standard ML type system, Our preliminary benchmark results show the expected performance.
Original language | English |
---|---|
Pages (from-to) | 101-113 |
Number of pages | 13 |
Journal | Computer Software |
Volume | 25 |
Issue number | 2 |
Publication status | Published - 2008 |
ASJC Scopus subject areas
- Software