Welcome to the CHICKEN Scheme pasting service

faggy implementation added by bfig on Wed Apr 11 08:58:52 2012

(define (stupid x)
  (let stupidloop ((lst '())
		   (num x)
		   (iter 2))
    (cond
     ((= num 1) lst)
     ((= 0 (modulo num iter)) (stupidloop (cons iter lst) (/ num iter) iter))
     (else (stupidloop lst num (+ 1 iter))))))

Your annotation:

Enter a new annotation:

Your nick:
The title of your paste:
Your paste (mandatory) :
What's the equality predicate for strings in R5RS?
Visually impaired? Let me spell it for you (wav file) download WAV