title: Lists in scheme
body: <p>I'm trying to write a function in scheme that takes a list and squares every item on the list, then returns the list in the form <code>(list x y z)</code>. However, I'm not sure how to write a code that will do that. So far, I have </p>
  
  <pre><code>(define (square=list list)
    (cond
      [(empty? list) false]
      [else (list (sqr (first a-list))(square-list (rest a-list)))]))
  </code></pre>
  
  <p>but it returns the list in the form</p>
  
  <pre><code>(cons x (cons y (cons z empty)))
  </code></pre>
  
  <p>What can I do to make it return the list just in the form <code>(list x y z)</code>? Thanks!</p>