[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug-mit-scheme] [bug #27426] Hygiene is broken in `syntax-rules'.

From: Arthur A. Gleckler
Subject: [Bug-mit-scheme] [bug #27426] Hygiene is broken in `syntax-rules'.
Date: Fri, 11 Sep 2009 17:46:47 +0000
User-agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10_5_8; en-US) AppleWebKit/532.0 (KHTML, like Gecko) Chrome/ Safari/532.0


                 Summary: Hygiene is broken in `syntax-rules'.
                 Project: MIT/GNU Scheme
            Submitted by: aag
            Submitted on: Fri 11 Sep 2009 05:46:46 PM GMT
                Category: runtime
                Severity: 3 - Normal
                Priority: 5 - Normal
              Item Group: Incorrect behavior
                  Status: None
                 Privacy: Public
             Assigned to: None
         Originator Name: 
        Originator Email: 
             Open/Closed: Open
         Discussion Lock: Any



>From Brian Mastenbrook's message on <r6rs-discuss>

  MIT Scheme's implementation of hygiene is broken:

  1 ]=> (define-syntax a
   (syntax-rules ()
        (define-syntax b
          (syntax-rules ()
            ((_) 1)))
        (define-syntax c
          (syntax-rules ()
            ((_) 2)))))))

  ;Value: a

  1 ]=> (a)

  ;Unspecified return value

  1 ]=> (b)

  ;Value: 1


Reply to this item at:


  Message sent via/by Savannah

reply via email to

[Prev in Thread] Current Thread [Next in Thread]