title: Scheme append procedure
body: <p>I'm having trouble appending a list to another list. Below is my code. When I run (append '(1 2) '(3 4)) I get '(1 3 2 4).</p>
  
  <p>I want the output to be '(1 2 3 4)</p>
  
  <pre><code>(define (append l m)
   (if (null? l) '()
    (cons (car l) (append m (cdr l)))))
  </code></pre>
  
  <p>Thanks</p>