Repository logo
Log in(current)
Repository logoMIT Open ScholarshipDSpace@MIT
  1. Home
  2. Computer Science and Artificial Intelligence Lab (CSAIL)
  3. LCS Publications
  4. LCS Technical Memos (1974 - 2003)
  5. Rank 2 Type Systems and Recursive Definitions

Rank 2 Type Systems and Recursive Definitions

Thumbnail Image
Download
Name

MIT-LCS-TM-531b.pdf

Size

5.19 MB

Format

Unknown

Checksum (MD5)

859a0eaf84b615d8775f7d7c11cf3e1d

Author(s)
Jim, Trevor
Date Issued
November 1995
Series/Report no.
MIT-LCS-TM-531;
Abstract
We demonstrate an equivalence between the rank 2 fragments of the polymorphic lambda calculus (System F) and the intersection type discipline: exactly the same terms are typable in each system. An immediate consequence is that typability in the rank 2 intersection system is DEXPTIME-complete. We introduce a rank 2 system combining intersections and polymorphism and prove that it types exactly the same terms as the other rank 2 systems. The combined system suggests a new rule for typing recursive definitions. The result is a rank 2 type system with decidable type inference that can type some interesting examples of polymorphic recursion. Finally, we discuss some applications of the type system in data representation optimizations such as unboxing and overloading.
Persistent DSpace Link
https://hdl.handle.net/1721.1/149246.2
Repository logo
PrivacyPermissionsAccessibilityContact us
Repository logo
Notify us about copyright concerns.