title: Why is Elixir warning me that my import is unused?
body: <p>I'm new to Elixir and encountered this. It does not make any sense to me, so I'm probably missing something.</p>
  
  <p>Why is Elixir giving me this warning:</p>
  
  <blockquote>
    <p>lib/test.ex:3: warning: unused import</p>
  </blockquote>
  
  <p>on that code</p>
  
  <pre><code>defmodule Test do
    def run(str) do
      import Poison
      obj = Poison.Parser.parse!(str)
      obj = %{obj | "name" =&gt; "bert"}
      obj = %{obj | "alter" =&gt;  "30"}
      Poison.encode!(obj)
    end
  end
  </code></pre>