C++ templates/traits versus Haskell type classes
dc.contributor.author | Sunil, KOTHARI | en_US |
dc.contributor.author | Martin, SULZMANN | en_US |
dc.date.accessioned | 2005-02-16T09:41:40Z | en_US |
dc.date.accessioned | 2017-01-23T06:59:33Z | |
dc.date.available | 2005-02-16T09:41:40Z | en_US |
dc.date.available | 2017-01-23T06:59:33Z | |
dc.date.issued | 2005-02-16T09:41:40Z | en_US |
dc.description.abstract | This article presents an in-depth study of the close connection between Haskell type classes and C++ template/traits mechanism - two different facilties for implementing generic programming concepts. Haskell type classes and various extensions can be closely mimicked by C++ templates/traits and related mechanisms. We highlight the subtleties related to type-based computations and the limitations induced by language design on the program behaviour by a number of examples. | en_US |
dc.format.extent | 305612 bytes | en_US |
dc.format.mimetype | application/pdf | en_US |
dc.identifier.uri | https://dl.comp.nus.edu.sg/xmlui/handle/1900.100/1526 | en_US |
dc.language.iso | en | en_US |
dc.relation.ispartofseries | TRB2/05 | en_US |
dc.title | C++ templates/traits versus Haskell type classes | en_US |
dc.type | Technical Report | en_US |