Boxy types: inference for higher-rank types and impredicativity

  • Authors:
  • Dimitrios Vytiniotis;Stephanie Weirich;Simon Peyton Jones

  • Affiliations:
  • University of Pennsylvania;University of Pennsylvania;Microsoft Research

  • Venue:
  • Proceedings of the eleventh ACM SIGPLAN international conference on Functional programming
  • Year:
  • 2006

Quantified Score

Hi-index 0.00

Visualization

Abstract

Languages with rich type systems are beginning to employ a blend of type inference and type checking, so that the type inference engine is guided by programmer-supplied type annotations. In this paper we show, for the first time, how to combine the virtues of two well-established ideas: unification-based inference, and bidi-rectional propagation of type annotations. The result is a type system that conservatively extends Hindley-Milner, and yet supports both higher-rank types and impredicativity.