Article contents
Generic programming with C++ concepts and Haskell type classes—a comparison
Published online by Cambridge University Press: 29 September 2010
Abstract
Earlier studies have introduced a list of high-level evaluation criteria to assess how well a language supports generic programming. Languages that meet all criteria include Haskell because of its type classes and C++ with the concept feature. We refine these criteria into a taxonomy that captures commonalities and differences between type classes in Haskell and concepts in C++ and discuss which differences are incidental and which ones are due to other language features. The taxonomy allows for an improved understanding of language support for generic programming, and the comparison is useful for the ongoing discussions among language designers and users of both languages.
- Type
- Articles
- Information
- Journal of Functional Programming , Volume 20 , Special Issue 3-4: Generic Programming , July 2010 , pp. 271 - 302
- Copyright
- Copyright © Cambridge University Press 2010
References
- 5
- Cited by
Discussions
No Discussions have been published for this article.