首页> 外文会议>Annual ACM symposium on applied computing;ACM symposium on applied computing;SAC 2010 >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 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号