scala> def (str1: String, str2: String, separator: String) = :1: error: identifier expected but '(' found. def (str1: String, str2: String, separator: String) = ^