Uniqueness Typing Simplified

  • Authors:
  • Edsko Vries;Rinus Plasmeijer;David M. Abrahamson

  • Affiliations:
  • Trinity College Dublin, Ireland;Radboud Universiteit Nijmegen, Netherlands;Trinity College Dublin, Ireland

  • Venue:
  • Implementation and Application of Functional Languages
  • Year:
  • 2008

Quantified Score

Hi-index 0.00

Visualization

Abstract

We present a uniqueness type system that is simpler than both Clean's uniqueness system and a system we proposed previously. The new type system is straightforward to implement and add to existing compilers, and can easily be extended with advanced features such as higher rank types and impredicativity. We describe our implementation in Morrow, an experimental functional language with both these features. Finally, we prove soundness of the core type system with respect to the call-by-need lambda calculus.