unofficial mirror of bug-guile@gnu.org 
 help / color / mirror / Atom feed
From: Ernesto Gabriel <q09yyd4t1ph7a1@gmail.com>
To: 33340@debbugs.gnu.org
Subject: bug#33340: named match-let doesn't work
Date: Sun, 11 Nov 2018 00:44:22 -0300	[thread overview]
Message-ID: <CABv8v1aLwiOUttJuFEMzcORuKwCPdK2QSkACQXr20X6G+Yorwg@mail.gmail.com> (raw)

[-- 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 --]

             reply	other threads:[~2018-11-11  3:44 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-11-11  3:44 Ernesto Gabriel [this message]
2018-11-11 19:08 ` bug#33340: named match-let doesn't work Alex Kost
2018-11-12  4:26   ` Mark H Weaver

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/guile/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=CABv8v1aLwiOUttJuFEMzcORuKwCPdK2QSkACQXr20X6G+Yorwg@mail.gmail.com \
    --to=q09yyd4t1ph7a1@gmail.com \
    --cc=33340@debbugs.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).