3 (define (square x) (* x x))
14 (gcd b (remainder a b))))
16 ;; naive fibonacci definition
19 ((or (= n 0) (= n 1)) 1)
20 (else (+ (fib (- n 1))
23 (define (range low high (step 1))
25 ((or (and (< low high)
29 (cons low (range (+ low step) high step)))
32 (define (accumulate op initial coll)
36 (accumulate op initial (cdr coll)))))
38 (provide square fib range accumulate)