(define (foo x) (define (bar y) (+ x y)) bar) (foo 1) 5 => 6 (foo 2) 5 => 7