title: reversing list in Lisp
body: <p>I'm trying to reverse a list in Lisp, but I get the error: "  Error: Exception C0000005 [flags 0] at 20303FF3 
       {Offset 25 inside #}
  eax      108 ebx 200925CA ecx      200 edx  2EFDD4D
  esp  2EFDCC8 ebp  2EFDCE0 esi      628 edi      628  "</p>
  
  <p>My code is as follows:  </p>
  
  <pre><code>(defun rev (l)
      (cond
          ((null l) '())
          (T (append (rev (cdr l)) (list (car l)))))) 
  </code></pre>
  
  <p>Can anyone tell me what am I doing wrong? Thanks in advance!</p>