1 2 3 4 5 6 7
(set! f' (fn (x acc) (if (< x 1) acc (f' (- x 1) (+ acc x))))) (set! f (fn (x) (f' x 0))) (say (f 10)) (say (f 1000))