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 \
here's another option:
something match { case "val" => "default" case default@_ => smth(default) }