Intensional Polymorphism in Type-erasure Semantics

DSpace/Manakin Repository

Intensional Polymorphism in Type-erasure Semantics

Citable link to this page

 

 
Title: Intensional Polymorphism in Type-erasure Semantics
Author: Weirich, Stephanie; Crary, Karl; Morrisett, John Gregory

Note: Order does not necessarily reflect citation order of authors.

Citation: Crary, Karl, Stephanie Weirich, and Greg Morrisett. 1998. Intensional polymorphism in type-erasure semantics. In Proceedings of the Third ACM SIGPLAN International Conference on Functional Programming (ICFP '98), Baltimore, Maryland, USA, September 27-29, 1998, ed. ACM SIGPLAN ICFP, 301-312. New York: Association for Computing Machinery. ACM SIGPLAN Notices 34(1).
Full Text & Related Files:
Abstract: Intensional polymorphism, the ability to dispatch to different routines based on types at run time, enables a variety of advanced implementation techniques for polymorphic languages, including tag-free garbage collection, unboxed function arguments, polymorphic marshalling, and flattened data structures. To date, languages that support intensional polymorphism have required a type-passing (as opposed to type-erasure) interpretation where types are constructed and passed to polymorphic functions at run time. Unfortunately, type-passing suffers from a number of drawbacks: it requires duplication of constructs at the term and type levels, it prevents abstraction, and it severely complicates polymorphic closure conversion.We present a type-theoretic framework that supports intensional polymorphism, but avoids many of the disadvantages of type passing. In our approach, run-time type information is represented by ordinary terms. This avoids the duplication problem, allows us to recover abstraction, and avoids complications with closure conversion. In addition, our type system provides another improvement in expressiveness; it allows unknown types to be refined in place thereby avoiding certain beta-expansions required by other frameworks
Published Version: http://doi.acm.org/10.1145/289423.289459
Terms of Use: This article is made available under the terms and conditions applicable to Other Posted Material, as set forth at http://nrs.harvard.edu/urn-3:HUL.InstRepos:dash.current.terms-of-use#LAA
Citable link to this page: http://nrs.harvard.edu/urn-3:HUL.InstRepos:3303080
Downloads of this work:

Show full Dublin Core record

This item appears in the following Collection(s)

 
 

Search DASH


Advanced Search
 
 

Submitters