Not exactly what you want, but I've found this snippet useful from time to time:
for {item, counter} <- Enum.with_index([:a, :b, :c]) do
IO.puts("#{counter} -> #{item}")
end
0 -> a
1 -> b
2 -> c