Created
August 2, 2016 15:19
-
-
Save indatawetrust/bfa6c1b0c586740ea3854cf010d89d6b 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
odd = &(rem(&1,2) != 0) | |
1..10 |> Enum.filter(odd) | |
# log | |
# [1,3,5,7,9] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment