title: Lisp, do something for every element in a list
body: <p>How do I perform a function on every element in a list? For example say I have a list:</p>
  
  <pre><code>(1 x q)
  </code></pre>
  
  <p>and I was to use <code>my-function</code> on <code>1</code>, <code>x</code>, <code>q</code>. Is there a predefined function for this? Similarly to <code>foreach</code> in a "higher" level language? Or do I have to manually step through it using <code>car</code> and <code>cdr</code>? </p>
  
  <p>Any help would be much appreciated! </p>