From: Marcus Kesseler

Subject: Re: problem with sort

Date: 1997-7-7 13:17

Hi,

> * Bjoern Hoefling > | Hello everybody, > > hi, there, > > | I have traced down a problem in a big part of code to the following > | strange behaviour of sort: > > actually, the behavior of `sort' is well documented and returning values > through side effects it _not_ an established pattern in Lisp, so it's your
...
> of a function if you need the return value. > > #\Erik >
right! In a nutshell: (sort ll #'string<) is bad, (setq ll (sort ll #'string<)) is good. Marcus -------------------------------------------------- Marcus Kesseler SCHEMA GmbH - Electronic Documentation Solutions Sulzbacherstr. 81 Tel +(49)911 - 581 77 88 90489 Nuernberg Fax +(49)911 - 581 78 48 Mail <schema.de at kesseler> WWW http://www.schema.de <acm.org at kesseler> Mailingliste-SchemaText: <twh.msn.sub.org at t-schema> --------------------------------------------------