I'm trying to write a lisp procedure that will sort a simple list. It
need only sort a list of atoms. For example, (5 3 9 2 8). I'm very new
to the language and would like any help possible.
--
Jeff Malotte
········@elite.net
Reini Urban wrote:
>
> On Sun, 28 Sep 1997 03:23:33 GMT, ······@netcom.com (Will Hartung)
> wrote:
> >······@world.std.com (Kent M Pitman) writes:
> >>
> >>If you're the sort to want to write this yourself, you're sort of
> out of - 2
> >>luck because Lisp has all sorts of SORT support, which you should
> use - 2
> >>unless you need special control of the performance characteristics
> of - 0!
> >>the SORT. I'll leave you to sort that out.
> - 2
> >
> >I'm trying to visualize getting Kent and Henry Baker together in a
> >bar, getting them drunk, and then stepping back while they feed on
> >each other. Should make interesting video, eh?
>
> Interesting enough that Kent's third line has no sort at all whilst
> the three
> others have a double SORT appearance. Maybe it would be sort of better
> to do a
> randomized split of the paragraph and sort it back again to equalize
> all sorts
> of sort. Any code?
I think he was just feeling out of sorts.
- Marty