Created
October 29, 2018 22:21
-
-
Save teivah/0fd36961965a50b580ff62b6cf397b9f to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
def matchB(i: Int): String = i match { | |
case 1 => "one" | |
case 2 => "two" | |
case _ => "something else" | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment