[plt-scheme] Bug(?) with shadowing syntactic keywords

From: David Van Horn (dvanhorn at cs.brandeis.edu)
Date: Fri Nov 11 11:46:34 EST 2005

I believe the following is a bug.  When run at the top level the result
is 0, but I would expect the program to diverge.

(define-syntax f
  (syntax-rules ()
    ((f) 0)))

(define (f) (f))



Posted on the users mailing list.