title: Adding an element to List in Scheme
body: <p>Below is my code which takes a car element of a list<code>(carVal)</code> and an list(initialized to empty) as parameters. I want to append the element to the list but the same is not working.</p>
  
  <pre><code>(define populateValues
     (lambda (carVal currVal)
        (append currVal(list carVal ))
         (display currVal)))
  </code></pre>
  
  <p>The display shows empty list all the time <code>()</code> . Can anyone help me understand why?</p>