Sciweavers

JFP
2010

Generic programming with C++ concepts and Haskell type classes - a comparison

13 years 10 months ago
Generic programming with C++ concepts and Haskell type classes - a comparison
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.
Jean-Philippe Bernardy, Patrik Jansson, Marcin Zal
Added 28 Jan 2011
Updated 28 Jan 2011
Type Journal
Year 2010
Where JFP
Authors Jean-Philippe Bernardy, Patrik Jansson, Marcin Zalewski, Sibylle Schupp
Comments (0)