suppress duplicate definition warnings, variables are hoisted
This commit is contained in:
parent
e52614a51e
commit
15e95f82da
|
@ -42,8 +42,8 @@
|
||||||
(cons (r 'lambda) (cons (map car bindings) body)))
|
(cons (r 'lambda) (cons (map car bindings) body)))
|
||||||
(cons name (map cadr bindings))))
|
(cons name (map cadr bindings))))
|
||||||
(begin
|
(begin
|
||||||
(define bindings (cadr expr))
|
(set! bindings (cadr expr))
|
||||||
(define body (cddr expr))
|
(set! body (cddr expr))
|
||||||
(cons (cons (r 'lambda) (cons (map car bindings) body))
|
(cons (cons (r 'lambda) (cons (map car bindings) body))
|
||||||
(map cadr bindings)))))))
|
(map cadr bindings)))))))
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue