Elixir doesn't have loops. Instead of them for lists there are great Enum and List modules, but there are also List Comprehensions.
List Comprehensions can be useful to:
create new lists
iex(1)> for value <- [1, 2, 3], do: value + 1
[2, 3, 4]
filtering lists, using guard expressi...