GNU bug report logs - #9776
case-lambda should accept zero clauses

Previous Next

Package: guile;

Reported by: Göran Weinholt <goran <at> weinholt.se>

Date: Mon, 17 Oct 2011 16:19:02 UTC

Severity: normal

Done: Andy Wingo <wingo <at> pobox.com>

Bug is archived. No further changes may be made.

Full log


Message #8 received at 9776 <at> debbugs.gnu.org (full text, mbox):

From: ludo <at> gnu.org (Ludovic Courtès)
To: Göran Weinholt <goran <at> weinholt.se>
Cc: 9776 <at> debbugs.gnu.org
Subject: Re: bug#9776: case-lambda should accept zero clauses
Date: Thu, 05 Jan 2012 23:06:54 +0100
Hi Göran,

Sorry for the delay.

Göran Weinholt <goran <at> weinholt.se> 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’.




This bug report was last modified 12 years and 134 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.