How can I get the default value in match case?
//Just an example, this value is usually not known val something: String = \"value\" something match { case \
something match { case "val" => "default" case default => smth(default) }
It is not a keyword, just an alias, so this will work as well:
something match { case "val" => "default" case everythingElse => smth(everythingElse) }