[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: Michele La Monaca
Subject: Re: [Chicken-hackers] [PATCH] Remove comparator type specializations for zero and one arguments
Date: Wed, 3 Jun 2015 06:56:42 +0200

On Sun, May 31, 2015 at 7:08 PM, Peter Bex <address@hidden> wrote:
> On Sun, May 31, 2015 at 12:18:09PM -0400, John Cowan wrote:
>> There's some argument for (apply = list) to do the right thing if
>> list is length 0 or 1.
> Good point.
>> Here's a quick investigation report.  Of my suite of 46 Schemes,
>> MIT, Gambit, Chicken, Guile, SCM, KSi, Sizzle all accept (=) and (= 1)
>> and return #t.  In addition, STklos, Chez, Vicare, Ypsilon, IronScheme,
>> JScheme, STklos, XLisp, Elk, Llava, SXM return #t to (= 1), and
>> FemtoLisp returns #f.
> Given that it's so widespread to accept this, perhaps the better
> fix is to make sure that CHICKEN 5 supports it once more.

I think that = is in the same league of < and > so, yes, it should
return #t if only for coherence.


reply via email to

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