Okay Im new to lisp and trying to figure out why this function is wrong and how to fix it. The function is supposed to reverse the given list.
(defun reverse(list)
(cond
((null list) 0)
(T (append (list (car list)) cdr(list))))
I thought this might be close but I know its not exactly right.
