GNU bug report logs - #33340
named match-let doesn't work

Previous Next

Package: guile;

Reported by: Ernesto Gabriel <q09yyd4t1ph7a1 <at> gmail.com>

Date: Sun, 11 Nov 2018 06:31:01 UTC

Severity: normal

Done: Mark H Weaver <mhw <at> netris.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 33340 in the body.
You can then email your comments to 33340 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#33340; Package guile. (Sun, 11 Nov 2018 06:31:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Ernesto Gabriel <q09yyd4t1ph7a1 <at> gmail.com>:
New bug report received and forwarded. Copy sent to bug-guile <at> gnu.org. (Sun, 11 Nov 2018 06:31:02 GMT) Full text and rfc822 format available.

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

From: Ernesto Gabriel <q09yyd4t1ph7a1 <at> gmail.com>
To: bug-guile <at> gnu.org
Subject: named match-let doesn't work
Date: Sun, 11 Nov 2018 00:44:22 -0300
[Message part 1 (text/plain, inline)]
match-let works as advertised, but a named match-let gives errors
for example
(match-let (((a . b) '(1 . 2))) (list a b)) => (1 2)
but
(match-let loop (((a . b) '(1 . 2))) (list a b))
does not work, even though it's basically the above code but instead it's
named

syntax according to the reference
match-let ((pattern expression) …) body
match-let variable ((pattern init) …) body

this is guile 2.2.4
[Message part 2 (text/html, inline)]

Information forwarded to bug-guile <at> gnu.org:
bug#33340; Package guile. (Sun, 11 Nov 2018 19:09:02 GMT) Full text and rfc822 format available.

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

From: Alex Kost <alezost <at> gmail.com>
To: Ernesto Gabriel <q09yyd4t1ph7a1 <at> gmail.com>
Cc: 33340 <at> debbugs.gnu.org
Subject: Re: bug#33340: named match-let doesn't work
Date: Sun, 11 Nov 2018 22:08:07 +0300
Ernesto Gabriel (2018-11-11 00:44 -0300) wrote:

> match-let works as advertised, but a named match-let gives errors

I think this is the same as:
https://debbugs.gnu.org/cgi/bugreport.cgi?bug=22925

Sorry, I am just reporting about the repeated bug, I don't know what
should be done about it :-)

-- 
Alex




Reply sent to Mark H Weaver <mhw <at> netris.org>:
You have taken responsibility. (Mon, 12 Nov 2018 04:28:02 GMT) Full text and rfc822 format available.

Notification sent to Ernesto Gabriel <q09yyd4t1ph7a1 <at> gmail.com>:
bug acknowledged by developer. (Mon, 12 Nov 2018 04:28:02 GMT) Full text and rfc822 format available.

Message #13 received at 33340-done <at> debbugs.gnu.org (full text, mbox):

From: Mark H Weaver <mhw <at> netris.org>
To: Alex Kost <alezost <at> gmail.com>
Cc: Ernesto Gabriel <q09yyd4t1ph7a1 <at> gmail.com>, 33340-done <at> debbugs.gnu.org
Subject: Re: bug#33340: named match-let doesn't work
Date: Sun, 11 Nov 2018 23:26:17 -0500
Alex Kost <alezost <at> gmail.com> writes:

> Ernesto Gabriel (2018-11-11 00:44 -0300) wrote:
>
>> match-let works as advertised, but a named match-let gives errors
>
> I think this is the same as:
> https://debbugs.gnu.org/cgi/bugreport.cgi?bug=22925

Indeed, thanks for pointing that out.  The bug is now fixed by commit
8e86dd93a0640161fe0098a80ccc9b814dddd280 on the stable-2.2 branch.  That
commit also includes several other fixes from the upstream match.scm in
Chibi-Scheme.

      Mark




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

This bug report was last modified 5 years and 150 days ago.

Previous Next


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