Why does the function
(defun counter (list)
(if (null list)
0
(+ 1 ( name (cdr list) )
)
)
loop?
I can't quite see how the self-calling of counter works either.
Search found 1 match
- Thu Sep 15, 2011 5:50 am
- Forum: Common Lisp
- Topic: weird lisp loop type operation
- Replies: 1
- Views: 3486