Skip to content

Instantly share code, notes, and snippets.

@marcelog
Created October 9, 2017 19:37
Show Gist options
  • Save marcelog/3def06881a97f8bb8d2ec0a101600beb to your computer and use it in GitHub Desktop.
Save marcelog/3def06881a97f8bb8d2ec0a101600beb to your computer and use it in GitHub Desktop.
Showing how the match operator works in Erlang
1> X = 1.
1
2> X = 1.
1
3> X = 2.
** exception error: no match of right hand side value 2
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment