From: "Göran Weinholt" <goran@weinholt.se>
To: 9776@debbugs.gnu.org
Subject: bug#9776: case-lambda should accept zero clauses
Date: Mon, 17 Oct 2011 12:15:40 +0200 [thread overview]
Message-ID: <87ty77c4ab.fsf@weinholt.se> (raw)
Hello guilers,
the case-lambda form is specified in r6rs-lib as accepting any number of
clauses, including zero. So this should not give an error:
scheme@(guile-user)> (case-lambda)
While compiling expression:
ERROR: Syntax error:
standard input:1:0: case-lambda: bad case-lambda in form (case-lambda)
Instead it should return a procedure that never gets the right number of
arguments.
Regards,
--
Göran Weinholt <goran@weinholt.se>
next reply other threads:[~2011-10-17 10:15 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-10-17 10:15 Göran Weinholt [this message]
2012-01-05 22:06 ` bug#9776: case-lambda should accept zero clauses Ludovic Courtès
2012-01-08 4:45 ` Ian Price
2012-01-31 22:55 ` Ludovic Courtès
2012-02-01 5:07 ` Mark H Weaver
2012-02-02 22:16 ` Ludovic Courtès
2013-03-02 18:13 ` Andy Wingo
2013-03-09 10:17 ` Andy Wingo
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=87ty77c4ab.fsf@weinholt.se \
--to=goran@weinholt.se \
--cc=9776@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).