Skip to content

Instantly share code, notes, and snippets.

@jarsen
Created July 3, 2013 23:11
Show Gist options
  • Save jarsen/5923659 to your computer and use it in GitHub Desktop.
Save jarsen/5923659 to your computer and use it in GitHub Desktop.
# example of incrementing all elements across a list
Enum.map [1,2,3], fn(x) -> x + 1 end
Enum.map [1,2,3], &1 + 1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment