title: Loop through a Map's key-value pairs
body: <p>How to iterate over a map's key-value pairs in Elixir?</p>
  
  <p>This doesn't work:</p>
  
  <pre><code>my_map = %{a: 1, b: 2, c: 3}
  
  Enum.each my_map, fn %{k =&gt; v} -&gt;
      IO.puts "#{k} --&gt; #{v}"
  end
  </code></pre>