(defun func (lst &aux (tmp 0))
(if (null lst) tmp (func (cdr lst) (+ tmp (car lst)))))