(append (range s (- n 1))
(list (+ s (- n 1))))))
-(define (flat-map f . xs) (fold-left append '() (map f xs)))
+(define (flat-map f . xs) (fold-left append '() (apply map (cons f xs))))
(define (repeat x n) (if (<= n 0) '()
(cons x (repeat x (- n 1)))))