All pastes #253943 Raw Edit

Unnamed

public text v1 · immutable
#253943 ·published 2006-11-21 08:30 UTC
rendered paste body
(defun upto (numb)
  (cond
        ((eq (car numb) 1) numb)
        (t (upto (cons (- (car numb) 1) numb)))
        )
  )

(defun hello (list)
  (cond
        ((null list) nil)
        ((print (cons 'hello (car list))) (hello (cdr list)))
        )
  )

(hello (upto '(10)))