Skip to content

Instantly share code, notes, and snippets.

@teivah teivah/pattern.scala
Created Oct 29, 2018

What would you like to do?
def matchA(i: Int): String = {
i match {
case 1 => return "one"
case 2 => return "two"
case _ => return "something else"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.