repeat.scm 101 B

123456
  1. (define (repeat thunk n)
  2. (if (= 0 n)
  3. #t
  4. (begin (thunk)
  5. (repeat thunk (- n 1)))))