justinethier/husk-scheme — Issue #59: let-syntax and R5RS pitfall 3.3
Author: justinethier
Created: 2011-11-25 03:42:22+00:00
State: open

The following test from R5RS pitfalls fails, likely due to deficiencies in let-syntax:

(should-be 3.3 1
(let ((x 1))
(let-syntax
((foo (syntax-rules ()
((_ y) (let-syntax
((bar (syntax-rules ()
((_) (let ((x 2)) y)))))
(bar))))))
(foo x))))