This function is provided
def foo( a: String = "bar", b: Int = 1, c: String = "default" ): String
Is there a way to create a partial function String => String
without specifying a
and b
? My approach foo( c = _: String )
does unfortunately not compile. Are there any alternatives?