Type classes and overloading resolution via order-sorted unification:

Abstract: "We present a type inference algorithm for a Haskell- like language based on order-sorted unification. The language features polymorphism, overloading, type classes and multiple inheritance. Class and instance declarations give rise to an order-sorted algebra of types; overloading res...

Ausführliche Beschreibung

Gespeichert in:
Bibliographische Detailangaben
Hauptverfasser: Nipkow, Tobias 1958- (VerfasserIn), Snelting, Gregor (VerfasserIn)
Format: Buch
Sprache:English
Veröffentlicht: Cambridge 1990
Schriftenreihe:Computer Laboratory <Cambridge>: Technical report 200
Schlagworte:
Zusammenfassung:Abstract: "We present a type inference algorithm for a Haskell- like language based on order-sorted unification. The language features polymorphism, overloading, type classes and multiple inheritance. Class and instance declarations give rise to an order-sorted algebra of types; overloading resolution is based on unification in this algebra. The semantics of the language is given by a translation into ordinary [lambda]- calculus, and we prove the correctness of our algorithm with respect to this semantics. In contrast to earlier work, our typing scheme is simpler, more general, and immediately leads to a typing algorithm."
Beschreibung:16 S.