kirancodes.me
To Proof Maintenance & Beyond!

Implementing Type Classes

John Peterson, Mark P. Jones

Abstract

We describe the implementation of a type checker for the functional programming language Haskell that supports the use of type classes. This extends the type system of ML to support overloading (ad-hoc polymorphism) and can be used to implement features such as equality types and numeric overloading in a simple and general way.

DOI 10.1145/155090.155112

Related papers