This feature 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 foo( c = _: String ) approach, unfortunately, does not compile. Are there any alternatives?
source share