unofficial mirror of bug-guile@gnu.org 
 help / color / mirror / Atom feed
* bug#20546: Syntax bug in master branch (till d99fedc5fd38c0)
@ 2015-05-11 10:29 Nala Ginrut
  2016-06-23 20:27 ` Andy Wingo
  0 siblings, 1 reply; 3+ messages in thread
From: Nala Ginrut @ 2015-05-11 10:29 UTC (permalink / raw)
  To: 20546

I'm using master branch (till d99fedc5fd38c0), and I found this code
can't run in 2.1, but works in 2.0:

---------------------------------code-------------------------------
(define-syntax define-art
  (lambda (x)
   (syntax-case x ()
    ((_ name) (identifier? #'name)
     #`(begin
        (define name 2)
        (define #,(datum->syntax #'name
                  (symbol-append 'define- (syntax->datum #'name)))
                33))))))
----------------------------------end-------------------------------

Of course, the meaning of this code is trivial.








^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2016-08-07 10:32 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-05-11 10:29 bug#20546: Syntax bug in master branch (till d99fedc5fd38c0) Nala Ginrut
2016-06-23 20:27 ` Andy Wingo
2016-08-07 10:32   ` Andy Wingo

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).