scala> def join(separator:String = ":", xs:Int*) = xs.mkString(separator) <console>:5: error: a parameter section with a `*'-parameter is not allowed to have default arguments def join(separator:String = ":", xs:Int*) = xs.mkString(separator)