Type classes as objects and implicits
Bruno C. d. S. Oliveira, Adriaan Moors, Martin Odersky · ACM International Conference on Object Oriented Programming Systems Languages and Applications (OOPSLA) · 2010
Type classes were originally developed in Haskell as a disciplined alternative to ad-hoc polymorphism. Type classes have been shown to provide a type-safe solution to important challenges in software engineering and programming languages such as, for example, retroactive extension of programs. They are also recognized as a good mechanism for concept-based generic programming and, more recently, have evolved into a mechanism for type-level computation.
Cited by 108 works. doi:10.1145/1869459.1869489 Open-access PDF
Authors
References
- How to make ad-hoc polymorphism less ad hoc
- Haskell 98 language and libraries : the revised report
- Modules for standard ML
- STL Tutorial and Reference Guide: C++ Programming with the Standard Template Library
- Abstract types have existential type
- F-bounded polymorphism for object-oriented programming
- An Overview of the Scala Programming Language
- Generic programming
- MultiJava
- On Binary Methods