Internal define-syntax isn't resolved correctly

Create issue
Issue #14 resolved
Takashi Kato repo owner created an issue

Following script should return 0 but raises and error.

(let ()
  (define-syntax bind-to-zero
    (syntax-rules ()
      ((bind-to-zero id) (define id (zero)))))
  (bind-to-zero x)
  (define-syntax zero (syntax-rules () ((_) 0)))
  x)

Comments (1)

  1. Log in to comment