Scouts honor - I'm not trying to get someone to explain recursion. For example:
CODE
(define factorial
(lambda (n)
(cond
((or (< n 0) (null? n)) (quote ()))
(else
((cond (= n 0) 1)
(else * n (factorial (- n 1))))))
>factorial 3
will execute a recursive send/return something like:

I do intuitively understand simple recursion. What I don't get is recursion within a recursion, as in my OP:
CODE
(define rember
(lambda(a lat)
(cond
((null? lat) (quote ()))
((eq? (car lat) a) (cdr lat))
(else (cons (car lat)
(rember a (cdr lat)))))))
where argument:
a is
andand
lat is (
bacon lettuce and tomato)
Please refer to my OP at:
http://www.dreamincode.net/forums/showtopic65339.htmfor full explanation of my dilemma.
This post has been edited by LowWaterMark: 3 Oct, 2008 - 12:58 AM