gcl-devel
[Top][All Lists]
Advanced

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

[Gcl-devel] fixes to tailp and nconc


From: Peter Wood
Subject: [Gcl-devel] fixes to tailp and nconc
Date: Fri, 24 Jan 2003 19:12:21 +0100
User-agent: Mutt/1.4i

Hi

nconc can take a dotted list.  This means GCL is in error here:

(nconc '(a . b) 'c) ==> signals an error saying 'b is not a list.--
should be '(a . c)

Also tailp must return T for nil and a proper list. GCL is doing this:

(tailp nil '(a b c)) ; ==> nil -- should be T

I can't submit a diff, since my list.d also contains other changes,
but I think this is the relevant code (attached).

Regards,
Peter

Attachment: list.d-fix.c
Description: Text document


reply via email to

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