Skip to content

Instantly share code, notes, and snippets.

@calvinmetcalf
Created September 5, 2013 13:08
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save calvinmetcalf/6449873 to your computer and use it in GitHub Desktop.
Save calvinmetcalf/6449873 to your computer and use it in GitHub Desktop.
match pointA {
{ x:4, _ } => thing1,
{ x:6, y:9 } => thing2,
_ => thing3
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment