Another update from ingydotnet^djgoku
This commit is contained in:
parent
91df62d461
commit
948b86eafa
7604 changed files with 108452 additions and 22726 deletions
9
Task/Loops-Foreach/Elixir/loops-foreach.elixir
Normal file
9
Task/Loops-Foreach/Elixir/loops-foreach.elixir
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
iex(1)> list = [1,3.14,"abc",[3],{0,5}]
|
||||
[1, 3.14, "abc", [3], {0, 5}]
|
||||
iex(2)> Enum.each(list, fn x -> IO.inspect x end)
|
||||
1
|
||||
3.14
|
||||
"abc"
|
||||
[3]
|
||||
{0, 5}
|
||||
:ok
|
||||
Loading…
Add table
Add a link
Reference in a new issue