Created
August 13, 2016 17:01
-
-
Save indatawetrust/5d16909b68e21fe61e704daba943ef93 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
array = fn i,j -> i..j |> Enum.to_list end | |
IO.puts array.(1,5) | |
# log | |
# [1,2,3,4,5] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment