Home

Elixir Iteration

values = ["Ace", "Two", "Three", "Four", "Five"] suits = ["Spades", "Clubs", "Hearts", "Diamonds"] for suit <- suits, value <- values do "#{value} of #{suit}" end

Repository

https://github.com/okeeffed/developer-notes-nextjs/content/elixir/elixir-iteration

Sections


Related