Simple, Decidable Type Inference with Subtyping

  • Gottlieb E
ArXiv: 1104.3116
N/ACitations
Citations of this article
10Readers
Mendeley users who have this article in their library.

Abstract

We demonstrate a method to infer polymorphically principal and subtyping-minimal types for an ML-like core language by assigning ranges within a lattice to type variables. We demonstrate the termination and completeness of this algorithm, and proceed to show that it solves a broad special-case of the generally-undecidable semi-unification problem. Our procedure requires no type annotations, leaves no subtyping constraints in the inferred types, and produces no proof obligations. We demonstrate the practical utility of our technique by showing a type-preserving encoding of Featherweight Java into the expression calculus over which we infer types.

Cite

CITATION STYLE

APA

Gottlieb, E. (2011). Simple, Decidable Type Inference with Subtyping, 1–10. Retrieved from http://arxiv.org/abs/1104.3116

Register to see more suggestions

Mendeley helps you to discover research relevant for your work.

Already have an account?

Save time finding and organizing research with Mendeley

Sign up for free