title: Lisp - append to a list
body: <p>I am new to lisp. I didn't properly understand how to implement append function on a list. I tried the following program.</p>
  
  <pre><code>(defvar temp)
  (setq temp '())
  (append temp (logxor 1 0))
  </code></pre>
  
  <p>temp seems to store only NIL value when it should be storing 1 in it. </p>