System F with type equality coercions

  • Authors:
  • Martin Sulzmann;Manuel M. T. Chakravarty;Simon Peyton Jones;Kevin Donnelly

  • Affiliations:
  • National University of Singapore;University of New South Wales;Microsoft Research Ltd, Cambridge, England;Microsoft Research Ltd, Cambridge, England

  • Venue:
  • TLDI '07 Proceedings of the 2007 ACM SIGPLAN international workshop on Types in languages design and implementation
  • Year:
  • 2007

Quantified Score

Hi-index 0.00

Visualization

Abstract

We introduce System FC, which extends System F with support for non-syntactic type equality. There are two main extensions: (i) explicit witnesses for type equalities, and (ii) open, non-parametric type functions, given meaning by top-level equality axioms. Unlike System F, FC is expressive enough to serve as a target for several different source-language features, including Haskell's newtype, generalised algebraic data types, associated types, functional dependencies, and perhaps more besides.