Loading...
conference paper
Named and default arguments for polymorphic object-oriented languages
2010
Proceedings of the 2010 ACM Symposium on Applied Computing
This article describes the design and implementation of named 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.
Loading...
Name
named-args.pdf
Access type
openaccess
Size
190.53 KB
Format
Adobe PDF
Checksum (MD5)
6c113a6173cc6b082e8ab70d81349c35