bug-guile
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#9776: case-lambda should accept zero clauses


From: Göran Weinholt
Subject: bug#9776: case-lambda should accept zero clauses
Date: Mon, 17 Oct 2011 12:15:40 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.2 (gnu/linux)

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 <address@hidden>





reply via email to

[Prev in Thread] Current Thread [Next in Thread]