To fix, change (define (fetch-all) to (define (fetch-all , all):
Code: Select all
(define (fetch-all , all)
  (dotimes (x (num-rows)) (push (fetch-row) all))
  (if all (reverse all) '()))Code: Select all
(define (fetch-all , all)
  (dotimes (x (num-rows)) (push (fetch-row) all))
  (if all (reverse all) '()))