Kubilay wrote:
> How can I sort symbols in alpahbetical order?
Well, I'm just a beginner, but here's my attempt:
(sort '(car window apple) #'string< :key #'symbol-name)
Note that it both takes and returns a list of symbols.
Mattias.
Lars Brinkhoff wrote:
> "Mattias Nilsson" <········@bredband.net> writes:
> > (sort '(car window apple) #'string< :key #'symbol-name)
:
> Note that sort is advertised as a destructive function, and you pass
> it a quoted object.
Of course! I intended for my answer to be a template that could
be used in a destructive function. ;)