GNU bug report logs - #20546
Syntax bug in master branch (till d99fedc5fd38c0)

Previous Next

Package: guile;

Reported by: Nala Ginrut <nalaginrut <at> gmail.com>

Date: Mon, 11 May 2015 10:30:03 UTC

Severity: normal

Done: Andy Wingo <wingo <at> pobox.com>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: help-debbugs <at> gnu.org (GNU bug Tracking System)
To: Nala Ginrut <nalaginrut <at> gmail.com>
Subject: bug#20546: closed (Re: bug#20546: Syntax bug in master branch
 (till d99fedc5fd38c0))
Date: Sun, 07 Aug 2016 10:33:01 +0000
[Message part 1 (text/plain, inline)]
Your bug report

#20546: Syntax bug in master branch (till d99fedc5fd38c0)

which was filed against the guile package, has been closed.

The explanation is attached below, along with your original report.
If you require more details, please reply to 20546 <at> debbugs.gnu.org.

-- 
20546: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=20546
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
From: Andy Wingo <wingo <at> pobox.com>
To: Nala Ginrut <nalaginrut <at> gmail.com>
Cc: 20546-done <at> debbugs.gnu.org
Subject: Re: bug#20546: Syntax bug in master branch (till d99fedc5fd38c0)
Date: Sun, 07 Aug 2016 12:32:18 +0200
On Thu 23 Jun 2016 22:27, Andy Wingo <wingo <at> pobox.com> writes:

> On Mon 11 May 2015 12:29, Nala Ginrut <nalaginrut <at> gmail.com> writes:
>
>> I'm using master branch (till d99fedc5fd38c0), and I found this code
>> can't run in 2.1, but works in 2.0:
>>
>> (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))))))
>>
>> Of course, the meaning of this code is trivial.
>
> Works for me:

Closing bug.  Please re-open if you can reproduce it; cheers :)

Andy

[Message part 3 (message/rfc822, inline)]
From: Nala Ginrut <nalaginrut <at> gmail.com>
To: bug-guile <at> gnu.org
Subject: Syntax bug in master branch (till d99fedc5fd38c0)
Date: Mon, 11 May 2015 18:29:26 +0800
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.






This bug report was last modified 8 years and 294 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.