Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SCALA

scala match default

something match {
    case "val" => "found match!!"
    case _ => "default case"
}
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #scala #match #default
ADD COMMENT
Topic
Name
2+5 =