debugging simple LISP functions. : <p>I am very new to lisp, and am having a hard time even getting my feet wet. I'm sure once, I have a few functions working, I'll be able to build upon them and work on higher order functions, and more complex problems. </p>

<p>Can someone point out my errors in the following code. </p>

<pre><code>(defun indeHelper(A L N)
 (cond (Null N) nil)
 ((= A (first L) (cons N (indeHelper A (rest L) (+ 1 N)))))
 (t (indeHelper A (rest L) (+ 1 N))))

(defun inde(A L)
  (funcall indeHelper(A L 1)))
</code></pre>

<p>Also how would I call this? I have one function I think is working ok, but I can't get the syntax for calling it.  Thanks for any help.</p>
