首页> 外文会议>Annual ACM symposium on applied computing >Named and default arguments for polymorphic object-oriented languages A discussion on the design implemented in the Scala language
【24h】

Named and default arguments for polymorphic object-oriented languages A discussion on the design implemented in the Scala language

机译:以多态对象为导向的语言的命名和默认参数讨论Scala语言中实现的设计

获取原文

摘要

This article describes the design and implementation of namec and default arguments in the Scala programming language. While these features are available in many other languages there are significant differences in the actual implementations. We present a design that unifies the most reasonable properties for an object-oriented language and provides new possibilities by allowing default arguments on generic and implicit parameters. We also present a solution for the problem of writing a lightweight generic update function for algebraic datatypes.
机译:本文介绍了Scala编程语言中Namec和默认参数的设计和实现。虽然这些功能有许多其他语言可用,但实际实现中存在显着差异。我们提出了一种设计,它统一以面向对象语言的最合理的属性,并通过允许对通用和隐式参数的默认参数提供新的可能性。我们还为代数数据类型编写轻量级通用更新函数的问题提供了解决方案。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号