Skip to content

Instantly share code, notes, and snippets.

@videlalvaro
Created June 7, 2011 17:34
Show Gist options
  • Save videlalvaro/1012710 to your computer and use it in GitHub Desktop.
Save videlalvaro/1012710 to your computer and use it in GitHub Desktop.
f(N, N) -> do_something_when_equal;
f(X, N) -> do_something_when_diff.
f(1,10). %% calls the second one.
f(10, 10). %% calls the first one.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment