With Java 5 and C-# 2.0, first-order parametric polymorphism was introduced in mainstream object-oriented programming languages under the name of generics. Although the first- order variant of generics is very useful, it also imposes some restrictions: it is possible to abstract over a type, but the resulting type constructor cannot be abstracted over. This can lead to code duplication. We removed this restriction in Scala, by allowing type constructors as type parameters and abstract type members. This paper presents the design and implementation of the resulting type constructor polymorphism. Furthermore, we study how this feature interacts with existing object-oriented constructs, and show how it makes the language more expressive
The object-oriented type theory for non-specialists is discussed. It is shown that how parametric po...
Jyväskylä: University of Jyväskylä, 2005. 28 p. Bachelorʹs Thesis Generic programming is a widely...
Java offers the real possibility that most programs can be written in a type-safe language. However,...
With Java 5 and C# 2.0, first-order parametric polymorphism was introduced in mainstream object-orie...
With Java 5 and C # 2.0, first-order parametric polymor-phism was introduced in mainstream object-or...
A static type system is an important tool in efficiently developing correct software. We describe th...
Datatype-generic programming involves parametrization by the shape of data, in the form of type cons...
Datatype-generic programming involves parametrization by the shape of data, in the form of type cons...
We present a generalization of Java’s parametric polymorphism that enables parameterization of class...
Datatype-generic programming (DGP) involves parametrization of programs by the shape of data, in the...
AbstractWe study the incorporation of generic types in aspect languages. Since advice acts like meth...
Datatype-generic programming (DGP) involves parametrization of programs by the shape of data, in the...
We present short programs that demonstrate the unsoundness of Java and Scala's current type systems....
We develop the mechanism of variant parametric types as a means to enhance synergy between parametri...
Type classes were originally developed in Haskell as a disciplined alternative to ad-hoc polymorphis...
The object-oriented type theory for non-specialists is discussed. It is shown that how parametric po...
Jyväskylä: University of Jyväskylä, 2005. 28 p. Bachelorʹs Thesis Generic programming is a widely...
Java offers the real possibility that most programs can be written in a type-safe language. However,...
With Java 5 and C# 2.0, first-order parametric polymorphism was introduced in mainstream object-orie...
With Java 5 and C # 2.0, first-order parametric polymor-phism was introduced in mainstream object-or...
A static type system is an important tool in efficiently developing correct software. We describe th...
Datatype-generic programming involves parametrization by the shape of data, in the form of type cons...
Datatype-generic programming involves parametrization by the shape of data, in the form of type cons...
We present a generalization of Java’s parametric polymorphism that enables parameterization of class...
Datatype-generic programming (DGP) involves parametrization of programs by the shape of data, in the...
AbstractWe study the incorporation of generic types in aspect languages. Since advice acts like meth...
Datatype-generic programming (DGP) involves parametrization of programs by the shape of data, in the...
We present short programs that demonstrate the unsoundness of Java and Scala's current type systems....
We develop the mechanism of variant parametric types as a means to enhance synergy between parametri...
Type classes were originally developed in Haskell as a disciplined alternative to ad-hoc polymorphis...
The object-oriented type theory for non-specialists is discussed. It is shown that how parametric po...
Jyväskylä: University of Jyväskylä, 2005. 28 p. Bachelorʹs Thesis Generic programming is a widely...
Java offers the real possibility that most programs can be written in a type-safe language. However,...