9 lines
195 B
Scheme
9 lines
195 B
Scheme
|
#lang scheme
|
||
|
|
||
|
; https://github.com/munificent/craftinginterpreters/blob/master/test/closure/open_closure_in_function.lox
|
||
|
|
||
|
|
||
|
((lambda ()
|
||
|
(define local 1)
|
||
|
(define (f) (display local))
|
||
|
(f)))
|