Posts that contain enum

Enum with an index

Iterating over a list and knowing the index or position of that item can be useful. Especially in situations where you know you need to perform some action or update some event.

Tags: elixir , lists , enum