How can I print a PID in Elixir? : <p>I tried to: </p>

<pre><code>pid = spawn fn -&gt; 1 + 2 end
IO.puts(pid)
IO.puts(IO.inspect(pid))
</code></pre>

<p>and both given a</p>

<pre><code>** (Protocol.UndefinedError) protocol String.Chars not implemented for #PID&lt;0.59.0&gt;
</code></pre>

<p>There must be a way to get the "#PID&lt;0.59.0>" representation of the <code>pid</code>, since the REPL prints that <code>#PID&lt;0.59.0&gt;</code>. </p>
