Код Ревью

Сравни свои решения

    #| BEGIN (Введите свое решение) |#
(define (product term a next b)
  (define (iter a result)
    (if (> a b)
        result
        (iter (next a) (* result (term a)))))
  (iter a 1))

(define (factorial n)
  (product identity 1 inc n))
#| END |#