Sciweavers

ICFP
2008
ACM

A comparison of c++ concepts and haskell type classes

14 years 11 months ago
A comparison of c++ concepts and haskell type classes
Earlier studies have introduced a list of high-level evaluation criteria to assess how well a language supports generic programming. Since each language that meets all criteria is considered generic, those criteria are not fine-grained enough to differentiate between languages for generic programming. We refine these criteria into a taxonomy that captures 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. Categories and Subject Descriptors D.3.3 [Programming Languages]: Language Constructs and Features General Terms Design, Languages Keywords Generic Programming, Specification-Driven Development, Concepts, Type Classes, C++, Haskell
Jean-Philippe Bernardy, Patrik Jansson, Marcin Zal
Added 13 Dec 2009
Updated 13 Dec 2009
Type Conference
Year 2008
Where ICFP
Authors Jean-Philippe Bernardy, Patrik Jansson, Marcin Zalewski, Sibylle Schupp, Andreas P. Priesnitz
Comments (0)