Last active
July 19, 2017 21:10
-
-
Save BadBastion/c1a615ae9c15365c536ac51bc8e78208 to your computer and use it in GitHub Desktop.
Both are basically the same
This file contains 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
[1,2,3] |> map(fn number -> my_function(number) end) | |
[1,2,3] |> reduce([], fn number, acc -> acc ++ [ my_function(number) ] end) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment