emacs-bug-tracker
[Top][All Lists]
Advanced

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

[debbugs-tracker] bug#33340: closed (named match-let doesn't work)


From: GNU bug Tracking System
Subject: [debbugs-tracker] bug#33340: closed (named match-let doesn't work)
Date: Mon, 12 Nov 2018 04:28:02 +0000

Your message dated Sun, 11 Nov 2018 23:26:17 -0500
with message-id <address@hidden>
and subject line Re: bug#33340: named match-let doesn't work
has caused the debbugs.gnu.org bug report #33340,
regarding named match-let doesn't work
to be marked as done.

(If you believe you have received this mail in error, please contact
address@hidden)


-- 
33340: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=33340
GNU Bug Tracking System
Contact address@hidden with problems
--- Begin Message --- Subject: named match-let doesn't work Date: Sun, 11 Nov 2018 00:44:22 -0300

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


--- End Message ---
--- Begin Message --- Subject: Re: bug#33340: named match-let doesn't work Date: Sun, 11 Nov 2018 23:26:17 -0500 User-agent: Gnus/5.13 (Gnus v5.13) Emacs/26.1 (gnu/linux)
Alex Kost <address@hidden> 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


--- End Message ---

reply via email to

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