chicken-janitors
[Top][All Lists]
Advanced

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

[Chicken-janitors] Re: #398: Nested let-syntax failure to strip renamed


From: Chicken Trac
Subject: [Chicken-janitors] Re: #398: Nested let-syntax failure to strip renamed identifiers
Date: Mon, 27 Sep 2010 07:33:01 -0000

#398: Nested let-syntax failure to strip renamed identifiers
-----------------------+----------------------------------------------------
  Reporter:  sjamaan   |       Owner:                               
      Type:  defect    |      Status:  new                          
  Priority:  minor     |   Milestone:  4.7.0                        
 Component:  expander  |     Version:  4.6.x                        
Resolution:            |    Keywords:  expander, renamed identifiers
-----------------------+----------------------------------------------------

Comment(by sjamaan):

 I prepared a simplified example of what's really happening here:

 {{{
 (let ((a 1))
   (let-syntax ((foo (syntax-rules ()
                       ((_) (quote a)))))
     (foo)))
 }}}

 ER version:
 {{{
 (let ((a 1))
   (let-syntax ((foo (lambda (x r c)
                      `(quote ,(r 'a)))))
     (foo)))
 }}}

 Both these examples result in a renamed symbol showing up in the output.

-- 
Ticket URL: <http://bugs.call-cc.org/ticket/398#comment:8>
Chicken Scheme <http://www.call-with-current-continuation.org/>
Chicken Scheme is a compiler for the Scheme programming language.

reply via email to

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