Mercurial > emacs
comparison man/cl.texi @ 74889:c18ed26cc2cc
(Sorting Sequences): In sort*, add a little cautionary note about the key
procedure being used heavily.
author | Juanma Barranquero <lekktu@gmail.com> |
---|---|
date | Mon, 25 Dec 2006 01:07:10 +0000 |
parents | 809fa10d2c90 |
children | 4ad431d8e164 bc10a33dd40b |
comparison
equal
deleted
inserted
replaced
74888:c56608cdc7a4 | 74889:c18ed26cc2cc |
---|---|
4090 @end example | 4090 @end example |
4091 | 4091 |
4092 @noindent | 4092 @noindent |
4093 sorts @var{data}, a sequence of strings, into increasing alphabetical | 4093 sorts @var{data}, a sequence of strings, into increasing alphabetical |
4094 order without regard to case. A @code{:key} function of @code{car} | 4094 order without regard to case. A @code{:key} function of @code{car} |
4095 would be useful for sorting association lists. | 4095 would be useful for sorting association lists. It should only be a |
4096 simple accessor though, it's used heavily in the current | |
4097 implementation. | |
4096 | 4098 |
4097 The @code{sort*} function is destructive; it sorts lists by actually | 4099 The @code{sort*} function is destructive; it sorts lists by actually |
4098 rearranging the @code{cdr} pointers in suitable fashion. | 4100 rearranging the @code{cdr} pointers in suitable fashion. |
4099 @end defun | 4101 @end defun |
4100 | 4102 |