Skip to content

Instantly share code, notes, and snippets.

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

What would you like to do?
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
You can’t perform that action at this time.