title: using clojure symbol function to make indirect function call
body: <p>I'm expecting below that I should be able to call my function squared indirectly via the symbol function, but its not working. What am I doing wrong here:</p>
  
  <pre><code>user=&gt; (defn squared [x] (* x x))
  #'user/squared
  user=&gt; (squared 2)
  4
  user=&gt; ((symbol "squared") 2)
  nil
  user=&gt; ((symbol "user" "squared") 2)
  nil
  user=&gt; 
  </code></pre>