DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
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
COMMENT
Name
2+5 =
Submit