[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
help needed
- Subject: help needed
- From: straz@cambridge.apple.com (Steve Strassmann)
- Date: Wed, 26 May 1993 15:12:25 -0400
>To: info-mcl@ministry.cambridge.apple.com
>From: htang@news.cis.ohio-state.edu (hing chu tang)
>Newsgroups: comp.lang.lisp.mcl
>Subject: help needed
>Date: 26 May 93 09:43:38 GMT
>Organization: The Ohio State University Department of Computer and Information Science
>
>Hi,
> 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
>
>htang@cis.ohio-state.edu
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.