title: Clojure: how to get from a map using a string key
body: <p>If I have a map like this:</p>
  
  <pre><code>(def foo {:bar "foobar"})
  </code></pre>
  
  <p>And I've been passed the key <code>:bar</code> as a string (i.e. <code>":bar"</code>)
  I want to be able to access the value from the map doing something like</p>
  
  <pre><code>(get foo (symbol ":bar"))
  </code></pre>
  
  <p>which I thought would work, because <code>(symbol ":bar")</code> is <code>:bar</code> ... but it just returns <code>nil</code></p>