* bug#33340: named match-let doesn't work @ 2018-11-11 3:44 Ernesto Gabriel 2018-11-11 19:08 ` Alex Kost 0 siblings, 1 reply; 3+ messages in thread From: Ernesto Gabriel @ 2018-11-11 3:44 UTC (permalink / raw) To: 33340 [-- Attachment #1: Type: text/plain, Size: 420 bytes --] 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 [-- Attachment #2: Type: text/html, Size: 1526 bytes --] ^ permalink raw reply [flat|nested] 3+ messages in thread
* bug#33340: named match-let doesn't work 2018-11-11 3:44 bug#33340: named match-let doesn't work Ernesto Gabriel @ 2018-11-11 19:08 ` Alex Kost 2018-11-12 4:26 ` Mark H Weaver 0 siblings, 1 reply; 3+ messages in thread From: Alex Kost @ 2018-11-11 19:08 UTC (permalink / raw) To: Ernesto Gabriel; +Cc: 33340 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 ^ permalink raw reply [flat|nested] 3+ messages in thread
* bug#33340: named match-let doesn't work 2018-11-11 19:08 ` Alex Kost @ 2018-11-12 4:26 ` Mark H Weaver 0 siblings, 0 replies; 3+ messages in thread From: Mark H Weaver @ 2018-11-12 4:26 UTC (permalink / raw) To: Alex Kost; +Cc: Ernesto Gabriel, 33340-done Alex Kost <alezost@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 ^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2018-11-12 4:26 UTC | newest] Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed) -- links below jump to the message on this page -- 2018-11-11 3:44 bug#33340: named match-let doesn't work Ernesto Gabriel 2018-11-11 19:08 ` Alex Kost 2018-11-12 4:26 ` Mark H Weaver
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).