首页> 外文期刊>Journal of Functional Programming >Generic programming with C++ concepts and Haskell type classes-a comparison
【24h】

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

机译:具有C ++概念和Haskell类型类的泛型编程-比较

获取原文
获取原文并翻译 | 示例
           

摘要

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.
机译:较早的研究已经引入了一系列高级评估标准,以评估一种语言对通用编程的支持程度。满足所有条件的语言包括Haskell,因为它具有类型类和具有概念功能的C ++。我们将这些标准完善为一个分类法,以捕获Haskell中的类型类与C ++中的概念之间的共性和差异,并讨论哪些差异是偶然的,哪些是其他语言特性引起的。通过分类法可以更好地理解通用编程的语言支持,并且该比较对于语言设计者和两种语言的用户之间正在进行的讨论很有用。

著录项

  • 来源
    《Journal of Functional Programming》 |2010年第4期|p.271-302|共32页
  • 作者单位

    Department of Computer Science and Engineering, Chalmers University of Technology and University of Gothenburg, SE-412 96 Goeteborg, Sweden;

    rnDepartment of Computer Science and Engineering, Chalmers University of Technology and University of Gothenburg, SE-412 96 Goeteborg, Sweden;

    rnOpen Systems Lab, Indiana University, Lindley Hall 215, Bloomington, IN 47405, USA;

    rnInstitute for Software Systems, Hamburg University of Technology, Schwarzenbergstrasse 95 (E), D-21073 Hamburg, Germany;

  • 收录信息 美国《科学引文索引》(SCI);
  • 原文格式 PDF
  • 正文语种 eng
  • 中图分类
  • 关键词

相似文献

  • 外文文献
  • 中文文献
  • 专利
获取原文

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号