title: Address of object in Julia
body: <p>How do I get the address of an object <code>obj</code> as a plain string? The <code>pointer_from_objref()</code> function is close to what I want, but when I print the result I get <code>"Ptr{Void} @0x00007f3864c40038"</code> instead of <code>"0x00007f3864c40038"</code>. Of course, I could simply discard the first 11 characters, but I feel like there should be a more elegant solution. </p>
  
  <p>The motivation for this question is that I am working on an adjacency list based graph library, centred around the type</p>
  
  <pre><code>immutable Vertex
      neighbors::Vector{Vertex}
  end
  </code></pre>
  
  <p>At the moment, printing a single vertex recursively prints the entire graph, which is very inconvenient. Instead, I would like <code>print(v)</code> to result in <code>Vertex 0x00007f3864c40038</code>. </p>