Skip to content

Instantly share code, notes, and snippets.

@jtrim
Created November 26, 2014 19:30
Show Gist options
  • Save jtrim/46583dfe10e01ccdebce to your computer and use it in GitHub Desktop.
Save jtrim/46583dfe10e01ccdebce to your computer and use it in GitHub Desktop.
def add(input) do
sum map split(delimiter_from(input), numbers_from(input)), &to_integer/1
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment