Named Arguments - Scala Documentation

When calling methods, you can label the arguments with their parameter names like so:

Notice how the order of named arguments can be rearranged. However, if some arguments are named and others are not, the unnamed arguments must come first and in the order of their parameters in the method signature.


This is a companion discussion topic for the original entry at http://docs.scala-lang.org/tutorials/tour/named-arguments.html.html