Logo

Programming-Idioms

  • Elixir
  • Ruby
items.each do |x|
  do_something( x )
end
items.each{|x| do_something( x )}
for x <- items do
  IO.inspect(x)
end
Enum.each(items, &IO.inspect/1)
for Item of Items loop
   Do_Something (Item);
end loop;

New implementation...