title: In Clojure, how to define a variable named by a string?
body: <p>Given a list of names for variables, I want to set those variables to an expression.</p>
  
  <p>I tried this:</p>
  
  <pre><code>(doall (for [x ["a" "b" "c"]] (def (symbol x) 666)))
  </code></pre>
  
  <p>...but this yields the error</p>
  
  <blockquote>
    <p>java.lang.Exception: First argument to def must be a Symbol</p>
  </blockquote>
  
  <p>Can anyone show me the right way to accomplish this, please?</p>