5 lines
88 B
Racket
5 lines
88 B
Racket
(define (foo x)
|
|
(define (bar y) (+ x y))
|
|
(bar 2))
|
|
(foo 1) ; => 3
|
|
(bar 1) ; => error
|