[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
- Subject: help needed
- From: email@example.com (Steve Strassmann)
- Date: Wed, 26 May 1993 15:12:25 -0400
>From: firstname.lastname@example.org (hing chu tang)
>Subject: help needed
>Date: 26 May 93 09:43:38 GMT
>Organization: The Ohio State University Department of Computer and Information Science
> I am currently learning common lisp. It seems to me that lisp is pretty hard
> to handle more complex algorithm, although its syntax looks easier.
> I'd like to implement a sort(insertion and selection) function using simple
> simple functions like DEFUN, CAR, CDR, >, LAMBDA, ... etc. However, I never got
> my sort function work. I know lisp has a sort function provided but i like to
> see the actual imlementation.
>If anyone has a sort function(any), can you send me a copy?
>OR if you know how to implement one easily, can you drop me a line?
>thanks for any help
The source code for MCL's SORT is included on the MCL cd-rom, in
"Additional MCL source code:lib:sort.lisp"
There's probably another implementation somewhere in
"User contributed code:CMU Common Lisp:"
Since this is a general lisp question, you might want to also ask
the comp.lang.lisp newsgroup, which covers a lot more territory
than just the comp.lang.lisp.mcl.