title: Clojure/Clojurescript: Argument to resolve must be a quoted symbol
body: <p>I'm attempting to use a string saved in a variable to call a function like so: </p>
  
  <pre><code>(defn update-product-list [] "Test")
  
  (defn handle-state-change [action]
    ((resolve (symbol action))))
  
  (handle-state-change "update-product-list")
  </code></pre>
  
  <p>However, this gives me the following error: Assert failed: Argument to resolve must be a quoted symbol </p>
  
  <p>I've also tried changing the above line to: </p>
  
  <pre><code>((resolve (quote (symbol action))))
  </code></pre>
  
  <p>But this still gives an error. I also tried changing it just to: </p>
  
  <pre><code>((resolve 'action))
  </code></pre>
  
  <p>But this gives a different error I don't quite understand: js/action is shadowed by a local. I don't want to override the function just call it. Not sure where I'm going wrong. I've looked at a few examples, but can't see to pin it down.</p>