Skip to content

Instantly share code, notes, and snippets.

@pfigue
Created November 15, 2011 20:57
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 pfigue/1368320 to your computer and use it in GitHub Desktop.
Save pfigue/1368320 to your computer and use it in GitHub Desktop.
Example of my Erlang max:max()
6> c(max).
{ok,max}
8> max:max([]).
[]
10> max:max([10]).
10
11> max:max([2, 3, 10]).
10
13> max:max([2, 3, 10, 1]).
10
15> max:max("ABCBA").
67
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment