Skip to content

Instantly share code, notes, and snippets.

@emres
Created January 4, 2014 19:01
Show Gist options
  • Save emres/8259213 to your computer and use it in GitHub Desktop.
Save emres/8259213 to your computer and use it in GitHub Desktop.
val peopleInIstanbul = people collect {
case person @ LivesIn(Istanbul()) => person.name
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment