[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Gcl-devel] Re: list
From: |
Camm Maguire |
Subject: |
[Gcl-devel] Re: list |
Date: |
06 Oct 2005 13:03:25 -0400 |
User-agent: |
Gnus/5.09 (Gnus v5.9.0) Emacs/21.2 |
Greetings, and thank you for this. I take it you've got some clever
spec parsig tool -- great!
In any case, this appears to confirm my suspicions -- only tailp ldiff
butlast, nbutlast and list-length need gracefully handle improper
lists. I'm working on a dotnil removal commit now. I'm going to
leave in the code in commented form as grist for future historical
amusement :-).
Take care,
Robert Boyer <address@hidden> writes:
> While I keep thinking about what list of names it is you want to get rid of
> dotnil, here is a list for you.
>
> In each of the following lines, we have
>
> (a) a function name or list of function names,
> (b) an argument name or argument names for the function or functions
> (c) something that should be checked for in some sense
>
> {write-sequence}{sequence}{a proper sequence}
> {read-sequence}{sequence}{a proper sequence}
> {remove-duplicates, delete-duplicates}{sequence}{a proper sequence}
> {remove, remove-if, remove-if-not, delete, delete-if,
> delete-if-not}{sequence}{a proper sequence}
> {substitute, substitute-if, substitute-if-not, nsubstitute,
> nsubstitute-if, nsubstitute-if-not}{sequence}{a proper sequence}
> {position, position-if, position-if-not}{sequence}{a proper sequence}
> {find, find-if, find-if-not}{sequence}{a proper sequence}
> {sort, stable-sort}{sequence}{a proper sequence}
> {reverse, nreverse}{sequence}{a proper sequence}
> {length}{sequence}{a proper sequence}
> {count, count-if, count-if-not}{sequence}{a proper sequence}
> {reduce}{sequence}{a proper sequence}
> {map-into}{sequence}{a proper sequence}
> {map-into}{result-sequence}{a proper sequence}
> {map}{sequence}{a proper sequence}
> {subseq}{new-subsequence}{a proper sequence}
> {subseq}{sequence}{a proper sequence}
> {fill}{sequence}{a proper sequence}
> {elt}{sequence}{a proper sequence}
> {copy-seq}{sequence}{a proper sequence}
> {union, nunion}{list-1 and list-2}{proper lists}
> {subsetp}{list-1 and list-2}{proper lists}
> {set-exclusive-or, nset-exclusive-or}{list-1 and list-2}{proper lists}
> {set-difference, nset-difference}{list-1 and list-2}{proper lists}
> {adjoin}{list}{a proper list}
> {intersection, nintersection}{list-1 and list-2}{proper lists}
> {pairlis}{keys and data}{proper lists}
> {assoc, assoc-if, assoc-if-not}{alist}{an association list}
> {mapc, mapcar, mapcan, mapl, maplist, mapcon}{list}{a proper list}
> {member, member-if, member-if-not}{list}{a proper list}
> {tailp}{list}{a proper list or a dotted list}
> {ldiff}{list}{a proper list or a dotted list}
> {ldiff, tailp}{list}{a proper list or a dotted list}
> {butlast, nbutlast}{list}{a proper list or a dotted list}
> {endp}{list}{a list}
> {list-length}{list}{a proper list or a circular list}
>
> If you're interested in how I got this list, I'll be happy to tell you.
>
> Bob
>
>
>
--
Camm Maguire address@hidden
==========================================================================
"The earth is but one country, and mankind its citizens." -- Baha'u'llah
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Gcl-devel] Re: list,
Camm Maguire <=