GNU bug report logs - #26583
2.2.1 syntax objects are not comparable

Previous Next

Package: guile;

Reported by: ludo <at> gnu.org (Ludovic Courtès)

Date: Thu, 20 Apr 2017 20:54:02 UTC

Severity: normal

Tags: fixed

Found in version 2.2.1

Done: Ludovic Courtès <ludo <at> gnu.org>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 26583 in the body.
You can then email your comments to 26583 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-guile <at> gnu.org:
bug#26583; Package guile. (Thu, 20 Apr 2017 20:54:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to ludo <at> gnu.org (Ludovic Courtès):
New bug report received and forwarded. Copy sent to bug-guile <at> gnu.org. (Thu, 20 Apr 2017 20:54:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: ludo <at> gnu.org (Ludovic Courtès)
To: bug-guile <at> gnu.org, Andy Wingo <wingo <at> igalia.com>
Subject: 2.2.1 syntax objects are not comparable
Date: Thu, 20 Apr 2017 22:52:59 +0200
Hello,

The “new” syntax objects in 2.2.1 cannot be compared with ‘equal?’,
unlike the “old” ones, which were just vectors.

It’s easy to fix in libguile, but was it intended?  If not, I’ll happily
send a patch.

Of course syntax objects were never officially comparable, but it turns
out that the ‘gexp’ macro in (guix gexp) relies on that when it rewrites
the syntax tree.

I tried to see if we could implement this macro differently, without
doing an explicit tree traversal, possibly using syntax parameters for
‘ungexp’ & co.  However, the difficulty is that the job of this macro
cannot be done in a single pass AFAICS.

Thoughts?

Ludo’.




Information forwarded to bug-guile <at> gnu.org:
bug#26583; Package guile. (Fri, 21 Apr 2017 07:39:02 GMT) Full text and rfc822 format available.

Message #8 received at 26583 <at> debbugs.gnu.org (full text, mbox):

From: Andy Wingo <wingo <at> pobox.com>
To: ludo <at> gnu.org (Ludovic Courtès)
Cc: 26583 <at> debbugs.gnu.org
Subject: Re: bug#26583: 2.2.1 syntax objects are not comparable
Date: Fri, 21 Apr 2017 09:38:25 +0200
On Thu 20 Apr 2017 22:52, ludo <at> gnu.org (Ludovic Courtès) writes:

> The “new” syntax objects in 2.2.1 cannot be compared with ‘equal?’,
> unlike the “old” ones, which were just vectors.

I think this is a bug.  We can roll another release today.

Andy




Added tag(s) fixed. Request was from Ludovic Courtès <ludo <at> gnu.org> to control <at> debbugs.gnu.org. (Sun, 30 Jun 2019 19:35:01 GMT) Full text and rfc822 format available.

bug closed, send any further explanations to 26583 <at> debbugs.gnu.org and ludo <at> gnu.org (Ludovic Courtès) Request was from Ludovic Courtès <ludo <at> gnu.org> to control <at> debbugs.gnu.org. (Sun, 30 Jun 2019 19:35:01 GMT) Full text and rfc822 format available.

bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Mon, 29 Jul 2019 11:24:06 GMT) Full text and rfc822 format available.

This bug report was last modified 4 years and 272 days ago.

Previous Next


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