<div dir="ltr"><div><div><div><div>Hi Li,<br><br></div>Well, a list is immutable, so you are not going to do an in-place sort on it anyway.<br><br></div>As about "real-world", you seem to have more confidence in the real world than me.<br>
</div>"Real-world" code would probably use bubble sort. <br>With bugs.<br></div>Which cannot be fixed since then the customers' results change and they<br>have to re-do their legal paperwork that everything is OK.<br>
<div><br>Stephan<br></div></div><div class="gmail_extra"><br><br><div class="gmail_quote">2013/11/14 Li Weijian <span dir="ltr"><<a href="mailto:liweijian.hust@gmail.com" target="_blank">liweijian.hust@gmail.com</a>></span><br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div>I found the quick-sort in HTDP:</div><div><a href="http://www.htdp.org/2003-09-26/Book/curriculum-Z-H-32.html#node_sec_25.2" target="_blank">http://www.htdp.org/2003-09-26/Book/curriculum-Z-H-32.html#node_sec_25.2</a></div>
<div><br></div><div>This algorithm is not an in place algorithm such as we implement in java/c++.</div><div><br></div><div>I am curious such that LISP quick-sort algorithm could be used in real world?</div></div>
<br>____________________<br>
Racket Users list:<br>
<a href="http://lists.racket-lang.org/users" target="_blank">http://lists.racket-lang.org/users</a><br>
<br></blockquote></div><br></div>