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.

Full log


View this message in rfc822 format

From: Ernesto Gabriel <q09yyd4t1ph7a1 <at> gmail.com>
To: 33340 <at> debbugs.gnu.org
Subject: bug#33340: 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)]

This bug report was last modified 6 years and 192 days ago.

Previous Next


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