Parametric type classes

Kung Chen, Paul Hudak, Martin Odersky

1992 · 56 citations · 11 references

Concepts

Abstract

We propose a generalization to Haskell's type classes where a class can have type parameters besides the placeholder variable. We show that this generalization is essential to represent container classes with overloaded data constructor and selector operations. We also show that the resulting type system has principal types and present unification and type reconstruction algorithms.

References

11