unofficial mirror of bug-guile@gnu.org 
 help / color / mirror / Atom feed
* bug#9776: case-lambda should accept zero clauses
@ 2011-10-17 10:15 Göran Weinholt
  2012-01-05 22:06 ` Ludovic Courtès
  0 siblings, 1 reply; 8+ messages in thread
From: Göran Weinholt @ 2011-10-17 10:15 UTC (permalink / raw)
  To: 9776

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>





^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2013-03-09 10:17 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-10-17 10:15 bug#9776: case-lambda should accept zero clauses Göran Weinholt
2012-01-05 22:06 ` 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

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).