Code Review

Compare your solutions

    #| BEGIN (Введите свое решение) |#

(define (accumulate combiner null-value term a next b)
  (define (iter a result)
    (if (> a b)
        result
        (iter (next a) (combiner (term a) result))))

  (iter a null-value))
#| END |#