Subject: Re: bug#9776: case-lambda should accept zero clauses

From: [email-masked] (Ludovic Courtès)
Date: Thu, 05 Jan 2012 23:06:54 +0100

Hi Göran,

Sorry for the delay.

Göran Weinholt <[email-masked]> skribis:

> the case-lambda form is specified in r6rs-lib as accepting any number of
> clauses, including zero. So this should not give an error:

My interpretation of the ‘case-lambda’ implementation on p. 15 of
r6rs-lib.pdf is that ‘case-lambda-help’ raises an assertion violation
when ‘case-lambda’ is called with zero clauses.

The text itself doesn’t explicitly mention that zero clauses are
supported.

What makes you think otherwise?

Thanks,
Ludo’.