Created
November 4, 2015 03:08
-
-
Save MonkeyIsNull/738e0ae9114416ed1f11 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Enum.reduce(Enum.map([1,2,3,4], fn(x) -> x*2 end), 0, fn(x,acc) -> x + acc end) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment