chicken-hackers
[Top][All Lists]
Advanced

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

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


From: Evan Hanson
Subject: Re: [Chicken-hackers] [PATCH] Remove comparator type specializations for zero and one arguments
Date: Fri, 12 Jun 2015 16:59:15 +1200

On 2015-06-01 20:23, Peter Bex wrote:
> Here's a patch to restore allowance of zero or single argument calls
> of numeric comparator procedures in CHICKEN 5.

Looks good, pushed. It's a bit odd now that `(<= "foo")` will signal an
error when `(<= 2 1 "foo")` won't, since it could be argued that the
first form might short-circuit when there's only one argument. However,
it feels more correct to me to leave the argument type check.

Thanks,

Evan

Attachment: signature.asc
Description: Digital signature


reply via email to

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