1.42 Exercise 1.42

Function composition is a powerful idea, but Scheme is expressive enough for a self-explanatory implementation:

(define (compose f g)
  (lambda (x) (f (g x))))