(Sorting Sequences): In sort*, add a little cautionary note about the key

procedure being used heavily.
This commit is contained in:
Juanma Barranquero 2006-12-25 01:08:43 +00:00
parent 367c4db280
commit 92ad3e9f49
2 changed files with 8 additions and 1 deletions

View file

@ -1,3 +1,8 @@
2006-12-25 Kevin Ryde <user42@zip.com.au>
* cl.texi (Sorting Sequences): In sort*, add a little cautionary note
about the key procedure being used heavily.
2006-12-24 Chong Yidong <cyd@stupidchicken.com>
* pgg.texi (Caching passphrase): Default for pgg-gpg-use-agent changed

View file

@ -4092,7 +4092,9 @@ fed to the @var{predicate} function. For example,
@noindent
sorts @var{data}, a sequence of strings, into increasing alphabetical
order without regard to case. A @code{:key} function of @code{car}
would be useful for sorting association lists.
would be useful for sorting association lists. It should only be a
simple accessor though, it's used heavily in the current
implementation.
The @code{sort*} function is destructive; it sorts lists by actually
rearranging the @code{cdr} pointers in suitable fashion.