[Top][All Lists]

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

Re: [Chicken-hackers] [PATCH] Remove comparator type specializations for

From: Peter Bex
Subject: Re: [Chicken-hackers] [PATCH] Remove comparator type specializations for zero and one arguments
Date: Mon, 1 Jun 2015 20:23:28 +0200
User-agent: Mutt/1.5.21 (2010-09-15)

On Sun, May 31, 2015 at 07:08:37PM +0200, Peter Bex wrote:
> Given that it's so widespread to accept this, perhaps the better
> fix is to make sure that CHICKEN 5 supports it once more.
> Either way, right now the compiled version of (=) returns #t
> while the interpreted version raises an exception in CHICKEN 5,
> which is inconsistent.

Here's a patch to restore allowance of zero or single argument calls
of numeric comparator procedures in CHICKEN 5.  It's a little ugly,
as these kind of exceptions generally are, so any cleanups are welcome.


Attachment: 0001-Allow-for-zero-or-single-argument-numeric-comparison.patch
Description: Text Data

Attachment: signature.asc
Description: Digital signature

reply via email to

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