On Mon, Jun 01, 2015 at 02:30:29PM -0400, co...@ccil.org wrote:
> Peter Bex scripsit:
> 
> > 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.
> 
> I'm not disagreeing with this patch, but would it be just as easy to
> rewrite these calls as just #t?

That's what's already happening in types.db so the compiler will already
do that, but in evaluated code or cases like (apply + (read)) it will
directly call this C function and it needs to manually check the argument
count.  That's the inconsistency I mentioned in my earlier message.

Cheers,
Peter

Attachment: signature.asc
Description: Digital signature

_______________________________________________
Chicken-hackers mailing list
Chicken-hackers@nongnu.org
https://lists.nongnu.org/mailman/listinfo/chicken-hackers

Reply via email to