Skip to content

Instantly share code, notes, and snippets.

@StoneCypher
Created March 30, 2014 04:11
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 StoneCypher/9867401 to your computer and use it in GitHub Desktop.
Save StoneCypher/9867401 to your computer and use it in GitHub Desktop.
upstring( [], Accumulator ) ->
lists:reverse(Accumulator);
upstring( [Letter | StringRemainder], Accumulator) ->
upstring(StringRemainder, [upchar(Letter)] ++ Accumulator).
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment