Adding type constructor parameterization to java

9Citations
Citations of this article
11Readers
Mendeley users who have this article in their library.

Abstract

We present a generalization of Java's parametric polymorphism that enables parameterization of classes and methods by type constructors, i.e., functions from types to types. Our extension is formalized as a calculus called FGJ ω. It is implemented in a prototype compiler and its type system is proven safe and decidable. We describe our extension and motivate its introduction in an object-oriented context through two examples: the definition of generic data-types with binary methods and the definition of generalized algebraic data-types. The Coq proof assistant was used to formalize FGJ ω, and to mechanically check its proof of type safety.

Cite

CITATION STYLE

APA

Cremet, V., & Altherr, P. (2008). Adding type constructor parameterization to java. In Journal of Object Technology (Vol. 7, pp. 25–65). Journal of Object Technology. https://doi.org/10.5381/jot.2008.7.5.a2

Register to see more suggestions

Mendeley helps you to discover research relevant for your work.

Already have an account?

Save time finding and organizing research with Mendeley

Sign up for free