Scrap Your Type Applications

  • Authors:
  • Barry Jay;Simon Peyton Jones

  • Affiliations:
  • University of Technology, Sydney,;Microsoft Research Cambridge,

  • Venue:
  • MPC '08 Proceedings of the 9th international conference on Mathematics of Program Construction
  • Year:
  • 2008

Quantified Score

Hi-index 0.00

Visualization

Abstract

System Fis ubiquitous in logic, theorem proving, language meta-theory, compiler intermediate languages, and elsewhere. Along with its type abstractions come type applications, but these often appear redundant. This redundancy is both distracting and costly for type-directed compilers.We introduce System IF, for implicitSystem F, in which many type applications can be made implicit. It supports decidable type checking and strong normalisation. Experiments with Haskell suggest that it could be used to reduce the amount of intermediate code in compilers that employ System F.System IFconstitutes a first foray into a new area in the design space of typed lambda calculi, that is interesting in its own right and may prove useful in practice.