in reply to Lisp Rocks
(defun multi-negative(alist) (cond ((null alist) 1); null list return nil ((and (numberp(car alist)) (< (car alist) 0) (* (multi-negative (cdr alist)) (car alist)))) (t (multi-negative(cdr alist))) );cond );defun
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: Re: Lisp Rocks
by hding (Chaplain) on May 26, 2001 at 00:11 UTC |