[ previous | index | next ]
(define (rgen n m) (let loop ((n n) (l '())) (if (zero? n) l (loop (- n 1) (cons (random m) l)))))